[ros-dev] [ros-diffs] [spetreolle] 50454: [CMAKE] Use cmake subversion capabilities to generate buildno.h and version.h.

Amine Khaldi amine.khaldi at reactos.org
Fri Jan 21 21:41:55 UTC 2011


> > +        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. 
We call it conditionally based on whether the .svn folder exists at the 
root of your source tree, indicating a working copy; otherwise we get 
-rUNKNOWN.

Regards,
Amine.



More information about the Ros-dev mailing list