On 07/12/2010 07:06 PM, Jochen Wilhelmy wrote:
> 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?
<http://www.mail-archive.com/[email protected]/msg29944.html>
It should be easy to replace Git by Subversion in the example.
Regards,
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