Changes in CMakeLists.txt [274:2a33883915bb:236:da953e387d31] in lemon-1.2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r274 r236 1 1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6) 2 2 3 #EXECUTE_PROCESS( 4 # COMMAND hg id -i 5 # OUTPUT_VARIABLE HG_REVISION 6 # OUTPUT_STRIP_TRAILING_WHITESPACE) 7 3 8 SET(PROJECT_NAME "LEMON") 4 SET(PROJECT_VERSION "hg-tip" CACHE STRING "The version string.") 9 SET(PROJECT_VERSION_MAJOR "0") 10 SET(PROJECT_VERSION_MINOR "99") 11 SET(PROJECT_VERSION_PATCH "0") 12 SET(PROJECT_VERSION 13 "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") 5 14 6 15 PROJECT(${PROJECT_NAME}) … … 31 40 SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE") 32 41 42 SET(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) 43 SET(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) 44 SET(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) 33 45 SET(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) 34 46 35 47 SET(CPACK_PACKAGE_INSTALL_DIRECTORY 36 "${PROJECT_NAME} ${PROJECT_VERSION }")48 "${PROJECT_NAME} ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}") 37 49 SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY 38 "${PROJECT_NAME} ${PROJECT_VERSION }")50 "${PROJECT_NAME} ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") 39 51 40 52 # Variables to generate a component-based installer.
Note: See TracChangeset
for help on using the changeset viewer.