Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularise configure.py #1077

Open
bates64 opened this issue Jul 1, 2023 · 2 comments
Open

Modularise configure.py #1077

bates64 opened this issue Jul 1, 2023 · 2 comments
Assignees
Labels
build system Relates to build system internals like configure.py

Comments

@bates64
Copy link
Member

bates64 commented Jul 1, 2023

No description provided.

@bates64 bates64 self-assigned this Jul 1, 2023
@bates64 bates64 added the build system Relates to build system internals like configure.py label Jul 1, 2023
@ethteck
Copy link
Member

ethteck commented Jul 17, 2023

what does this mean?

@bates64
Copy link
Member Author

bates64 commented Jul 17, 2023

I'm thinking that we can split configure.py into modules or plugins that define

  1. the ninja rule
  2. the conversion from splat segment to ninja code
  3. anything else in configure.py that i have forgotten

For example, pm_msg-related configure code can be moved into a new python file that exports these.
This means that if (for example) mods wanted to add a new asset, they would not have to modify core configure.py and potentially cause diff problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Relates to build system internals like configure.py
Projects
None yet
Development

No branches or pull requests

2 participants