hmake icon indicating copy to clipboard operation
hmake copied to clipboard

Add Pre-processing of HyperMake files

Open easeway opened this issue 9 years ago • 0 comments

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

easeway avatar Jan 20 '17 22:01 easeway