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

Add Pre-processing of HyperMake files #95

Open
easeway opened this issue Jan 20, 2017 · 0 comments
Open

Add Pre-processing of HyperMake files #95

easeway opened this issue Jan 20, 2017 · 0 comments

Comments

@easeway
Copy link
Member

easeway commented Jan 20, 2017

Introducing a template language (most likely the Go template) for pre-processing HyperMake file (as well as .hmake/.hmakerc files).

Add command line option -D key=val and normal arguments in the form KEY=VAL to provide context for pre-processing.

E.g.

hmake -D PLATFORM=linux target1 target2 OS=linux ARCH=arm

is equivalent to

hmake -D PLATFORM=linux -D OS=linux -D ARCH=arm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant