equal
deleted
inserted
replaced
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() |