[CMake] embed version numbers in libraries (.so, a) and executables

Ittay Dror ittayd at tikalk.com
Mon Mar 17 19:54:10 EDT 2008


Hi,

Does cmake have support for embedding version numbers in libraries and 
executables? Specifically:
* generate a string with the library / executable name, containing the 
version
* allow nightly builds to add build number
* add checksum (sha1) to uniquely identify a the library / executable 
based on its source files and compilation flags

If there isn't such a thing, could you point me to information on how to 
get started creating such a module?

Thank you,
Ittay

-- 
Ittay Dror <ittayd at tikalk.com>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>



More information about the CMake mailing list