-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Build System Rewrite] Everything at once: Includes build/assets
#1958
Conversation
Removed generated files (layouts.h, map_groups.h) from git.
Added some documentation and simplified dependency scanning.
Secondary expansion is redundant.
…ional. Utilising `build/assets` is now optional. Makes updating hacks less cumbersome.
Just commented on the non-drafts for now. For this one though I will say I'd still much rather have build artifacts outside
With those in mind I'm wondering whether moving the generated files to |
These are some very good points. For generated code, I think In terms of improving clarity around INCBIN... As an aside about |
I'm going to close this for now while I'm merging a bunch of these changes from their individual PRs, but I'd love to reopen it if there's renewed interest. I think the suggestions about improving |
Thanks @GriffinRichards. I appreciate your response. |
This pull request incorporates all changes I have made in relation to the build system.
I consider this a draft while the others haven't been merged, but you could merge this and it would include all of the following:
Makefile
#1950mapjson
now takes output directory parameters. #1949graphics_file_rules.mk
#1956To those of you considering my PRs, the intention was to subdivide changes to make them easier to adopt, as not all changes have the same levels of impact. Please read through them so you know which does what before discussion.
Additionally:
build/assets
. This makes the number of files changed quite high, but its essentially a find/replace operation.In the context of graphical assets that don't have a special rule (
*bpp, gbapal, lz, rl
) this is optional, and could be made optional for general audio. This is to help hacksgraphics_rules.mk
.build/emerald
is nowbuild/emerald_modern
at the request of the Discord.Performance:
mkdir
calls.Additional comments
I don't particularly want to be working much more on this. Its taken much more effort than I originally planned.
Discord contact info
icedude907