[CMake] calling c-compiler by hand

Jochen Wilhelmy j.wilhelmy at arcor.de
Mon Jul 12 13:06:41 EDT 2010


Hi!

adding

${CMAKE_CURRENT_SOURCE_DIR}/VersionInfo.cpp
to the source files does not have the desired effect.
If I change some file of the target, VersionInfo.cpp
does not get recompiled and therefore the current version
is not incorporated into the build.
Therefore I want to recompile it as pre-link step.
Any Ideas how to do it?

-Jochen




More information about the CMake mailing list