author | Tero Marttila <terom@fixme.fi> |
Tue, 27 Jan 2009 00:27:05 +0200 | |
branch | 0.1.1-pre |
changeset 440 | 0ddae5a7282f |
parent 402 | ce1e536ec897 |
permissions | -rw-r--r-- |
# location of output file is given as PROJECT_VERSION_FILE # include cmake stuff include ("cmake/FindVersion.cmake") include ("cmake/FindTimestamp.cmake") # determine PROJECT_VERSION FindProjectVersion ("${CMAKE_SOURCE_DIR}") # build date FindBuildTimestamp () # create version.c CONFIGURE_FILE ( "${CMAKE_SOURCE_DIR}/src/version.c.in" "${PROJECT_VERSION_FILE}" @ONLY )