CMakeLists.txt
changeset 503 64c2641286df
parent 502 e58c511a5eba
child 504 29cbdb01d5f0
child 515 7992dcb0d0e6
child 555 861a9d5ff283
     1.1 --- a/CMakeLists.txt	Thu Jan 22 10:39:13 2009 +0000
     1.2 +++ b/CMakeLists.txt	Fri Jan 23 16:30:05 2009 +0000
     1.3 @@ -1,7 +1,11 @@
     1.4  CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
     1.5  
     1.6 -SET(PROJECT_NAME "LEMON")
     1.7 -SET(PROJECT_VERSION "hg-tip" CACHE STRING "The version string.")
     1.8 +IF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
     1.9 +  INCLUDE(${CMAKE_SOURCE_DIR}/cmake/version.cmake)
    1.10 +ELSE(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
    1.11 +  SET(PROJECT_NAME "LEMON")
    1.12 +  SET(PROJECT_VERSION "hg-tip" CACHE STRING "LEMON version string.")
    1.13 +ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
    1.14  
    1.15  PROJECT(${PROJECT_NAME})
    1.16