[CMake] Getting the subversion version using CMake.

Andrew Maclean andrew.amaclean at gmail.com
Mon Mar 31 20:52:58 EDT 2008


We want to coordinate versioning with our subversion repository. Has anyone
done this with CMake?

There is a file called .svn\entries and the fourth line in that file has a
version number e.g. 660. I am thinking of somehow picking up this number and
creating a variable to use in our builds.
Or is there a cleverer way of doing this?

Andrew


-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080401/73e72416/attachment.htm>


More information about the CMake mailing list