Does anybody have an example where they use CMake (and probably a little C code) to generate a file with a timestamp for the beginning and/or end of the build in a cross-platform manner? I know CMake can't do this itself if you assume only the Makefiles/Visual Studio build logic at build time, but that essentially means some sort of custom target is needed to compile and run code that will do what is needed, plus (ideally) some way to ensure this target is the first thing built by the makefiles. Does CMake have some sort of "Do this list of targets before any other targets" list that could be used?
Cheers, CY _______________________________________________ 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