Hi, thanks,
One question: Why do you need a add_custom_command with all those dependencies? Why does version.cc depend on all the source and header files? What do you write in your version.cc file? Is it something like
Beside the SVN revision number of the working base, our embedded revision information also tells whether the library was built from code with local modifications, i.e. whether it equals the source code stored in the SVN repository or was changed afterwards. Changing a single byte in a header file already affects that state, so all headers need to be watched. Kolja _______________________________________________ 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