CMakeLists.txt
changeset 15450 88770c206c31
parent 15319 fe705efbfc52
child 15454 6e09555b25b4
equal deleted inserted replaced
15449:c03b2e263488 15450:88770c206c31
    90 
    90 
    91 #versioning
    91 #versioning
    92 set(CPACK_PACKAGE_VERSION_MAJOR 1)
    92 set(CPACK_PACKAGE_VERSION_MAJOR 1)
    93 set(CPACK_PACKAGE_VERSION_MINOR 0)
    93 set(CPACK_PACKAGE_VERSION_MINOR 0)
    94 set(CPACK_PACKAGE_VERSION_PATCH 0)
    94 set(CPACK_PACKAGE_VERSION_PATCH 0)
    95 set(HEDGEWARS_PROTO_VER 58)
    95 set(HEDGEWARS_PROTO_VER 59)
    96 if((CMAKE_BUILD_TYPE MATCHES "RELEASE") OR (CMAKE_BUILD_TYPE MATCHES "RELWITHDEBUGINFO"))
    96 if((CMAKE_BUILD_TYPE MATCHES "RELEASE") OR (CMAKE_BUILD_TYPE MATCHES "RELWITHDEBUGINFO"))
    97     set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
    97     set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
    98 else()
    98 else()
    99     set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-dev")
    99     set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-dev")
   100 endif()
   100 endif()