Question

I have a program that generates files that are included in .cpp files.

I want waf to build generator, find out what files need to be generated, generate them and compile everything else.

cxx gen.cpp -> gen
gen 1.in -> 1.out
gen 2.in -> 2.out
cxx program.cpp -> program

(program.cpp includes 1.out and 2.out)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top