Domanda

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)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top