[CMake] CMake generated build number?

Blezek, Daniel J. Blezek.Daniel at mayo.edu
Wed Nov 5 09:00:18 EST 2008


Hi,

  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.

Any clues how to do this?

Thanks,
-dan

Daniel Blezek, PhD
Medical Imaging Informatics Innovation Center

P 127 or (77) 8 8886
T 507 538 8886
E blezek.daniel at mayo.edu

Mayo Clinic
200 First St. S.W.
Harwick SL-44
Rochester, MN 55905
mayoclinic.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081105/36e8d5ff/attachment.htm>


More information about the CMake mailing list