[CMake] How to assign version numbers from a source header to CMake variables?

SF Markus Elfring elfring at users.sourceforge.net
Wed Jan 12 09:19:46 EST 2011


> Here is the code:

I have got another idea.

Did anybody try to use the C/C++ preprocessor ("cpp" and eventually including 
the compiler) to output a file in a format which is suitable for processing of 
this data as a project specification for CMake?

Regards,
Markus


More information about the CMake mailing list