[CMake] Technique for generating projects that depend on generated sources
Bill Hoffman
bill.hoffman at kitware.com
Sun Mar 1 16:54:53 EST 2009
I had another idea. About how many generated files are there, and how
big are they? It they are smallish, you could generate a single source
file that includes the generated files.
generated.cxx
#include "gen1.cxx"
#include "gen2.cxx"
#include "gen3.cxx"
...
Then you could have a custom command generate gen1-N.cxx first, and then
generate generated.cxx last, and only compile generated.cxx.
-Bill
More information about the CMake
mailing list