0
有somefile.h.in
和脚本somefile.h.pl
它生成像“somefile.h.gen”或“somefile_other.cpp.gen2”文件的数量。如何将可生成的源文件添加到qmake项目中更好?
如何在qmake中添加源代码阶段?在普通的Makefile我只是把东西像
somefile.o: somefile.cpp somefile.h somefile.h.gen
...
soemfile.h.gen: somefile.h.in somefile.h.pl
./somefile.h.pl < somefile.h.in # writes somefile.h.gen and friends