On 19. Aug, 2010, at 16:38 , Roman Wüger @mac.com wrote: > Hello, > > i need to create a file called "ApplicationVersion.xml" before the main > source file (main.cpp) would be compiled. > The file should contain some application details and the current Date/Time > and SVN Revision. > > How can I create such file before the source file are compiled? > How can I get the current Date/Time and the SVN Revision? > > Thanks in advance > > Best Regards > NoRulez
When should the file be updated? At configure time or every time a build is started? Michael _______________________________________________ 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