문제

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)

도움이 되었습니까?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top