7 endif(COMMAND cmake_policy) |
7 endif(COMMAND cmake_policy) |
8 |
8 |
9 |
9 |
10 set(CPACK_PACKAGE_VERSION_MAJOR "0") |
10 set(CPACK_PACKAGE_VERSION_MAJOR "0") |
11 set(CPACK_PACKAGE_VERSION_MINOR "9") |
11 set(CPACK_PACKAGE_VERSION_MINOR "9") |
12 set(CPACK_PACKAGE_VERSION_PATCH "6-dev") |
12 set(CPACK_PACKAGE_VERSION_PATCH "7-dev") |
13 |
13 |
14 if(DEFINED DATA_INSTALL_DIR) |
14 if(DEFINED DATA_INSTALL_DIR) |
15 set(SHAREPATH ${DATA_INSTALL_DIR}/hedgewars/) |
15 set(SHAREPATH ${DATA_INSTALL_DIR}/hedgewars/) |
16 else(DEFINED DATA_INSTALL_DIR) |
16 else(DEFINED DATA_INSTALL_DIR) |
17 set(SHAREPATH share/hedgewars/) |
17 set(SHAREPATH share/hedgewars/) |
18 endif(DEFINED DATA_INSTALL_DIR) |
18 endif(DEFINED DATA_INSTALL_DIR) |
19 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
19 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
20 |
20 |
21 set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") |
21 set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") |
22 set(HEDGEWARS_PROTO_VER 15) |
22 set(HEDGEWARS_PROTO_VER 17) |
23 |
23 |
24 add_subdirectory(bin) |
24 add_subdirectory(bin) |
25 add_subdirectory(QTfrontend) |
25 add_subdirectory(QTfrontend) |
26 add_subdirectory(hedgewars) |
26 add_subdirectory(hedgewars) |
27 add_subdirectory(share) |
27 add_subdirectory(share) |