On Wednesday 05 November 2008 14:00:18 Blezek, Daniel J. wrote: > I'd like to have a monotonically increasing "build number" auto > generated by CMake. This would be for official builds of the software, > so we could track algorithm changes / results. I'd also be happy if > CMake could pull the latest SVN revision number. This would go in a -D > during the build. See to the documentation for the "Subversion" module/package and the corresponding functions. I use them to do something very similar by getting the contents of the branch name and setting the application version depending on information extracted from that name.
-- Cheers, Mike Arthur http://mikearthur.co.uk/ _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
