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

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to