[CMake] Creating custom file before building/compiling with cmake

"Roman Wüger" <norulez@me.com> at mac.com "Roman Wüger" <norulez@me.com> at mac.com
Thu Aug 19 10:38:20 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100819/04b30dac/attachment.htm>


More information about the CMake mailing list