[ros-dev] [ros-diffs] [spetreolle] 50454: [CMAKE] Use cmake subversion capabilities to generate buildno.h and version.h.
Colin Finck
colin at reactos.org
Fri Jan 21 21:24:49 UTC 2011
spetreolle at svn.reactos.org wrote:
> + subversion_wc_info(${CMAKE_CURRENT_SOURCE_DIR} SVNINFO)
This will fail when we're not inside a working copy (see
http://www.vtk.org/Bug/view.php?id=10200), because the macro outputs an
error in this case.
Please take a look into
http://svn.reactos.org/svn/project-tools/trunk/rosev_ircsystem/src/CMakeLists.txt?revision=1236&view=markup
to see how you can easily reimplement this step properly.
Apart from that, nice to see that we finally get rid of this old stuff! :-)
- Colin
More information about the Ros-dev
mailing list