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

Turn subproject config.h includes into PP definitions #1587

Closed
jackhumbert opened this issue Aug 16, 2017 · 0 comments
Closed

Turn subproject config.h includes into PP definitions #1587

jackhumbert opened this issue Aug 16, 2017 · 0 comments

Comments

@jackhumbert
Copy link
Member

I've been messing around with defining a ".h" string in the Makefile, and am wondering if this would be something to try out for the subproject config.h includes, like this:

-DQMK_SUBPROJECT_CONFIG_H=\"$(SUBPROJECT)/config.h\"

Which could then just be included with #include QMK_SUBPROJECT_CONFIG_H, rather than the if statements we have now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant