CMakeLists.txt
changeset 882 28be02537dea
parent 784 b203147d91b5
child 889 3bf9dc791f45
equal deleted inserted replaced
881:e550cc9a65a1 882:28be02537dea
     7 else(DEFINED DATA_INSTALL_DIR)
     7 else(DEFINED DATA_INSTALL_DIR)
     8 	set(SHAREPATH share/hedgewars/)
     8 	set(SHAREPATH share/hedgewars/)
     9 endif(DEFINED DATA_INSTALL_DIR)
     9 endif(DEFINED DATA_INSTALL_DIR)
    10 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    10 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    11 
    11 
    12 set(HEDGEWARS_PROTO_VER 9)
    12 set(HEDGEWARS_PROTO_VER 10)
    13 
    13 
    14 add_subdirectory(bin)
    14 add_subdirectory(bin)
    15 add_subdirectory(QTfrontend)
    15 add_subdirectory(QTfrontend)
    16 add_subdirectory(hedgewars)
    16 add_subdirectory(hedgewars)
    17 add_subdirectory(share)
    17 add_subdirectory(share)
    20 
    20 
    21 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a turn-based strategy")
    21 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a turn-based strategy")
    22 set(CPACK_PACKAGE_VENDOR "Hedgewars")
    22 set(CPACK_PACKAGE_VENDOR "Hedgewars")
    23 set(CPACK_PACKAGE_VERSION_MAJOR "0")
    23 set(CPACK_PACKAGE_VERSION_MAJOR "0")
    24 set(CPACK_PACKAGE_VERSION_MINOR "9")
    24 set(CPACK_PACKAGE_VERSION_MINOR "9")
    25 set(CPACK_PACKAGE_VERSION_PATCH "2")
    25 set(CPACK_PACKAGE_VERSION_PATCH "3")
    26 set(CPACK_PACKAGE_FILE_NAME "hedgewars-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
    26 set(CPACK_PACKAGE_FILE_NAME "hedgewars-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
    27 set(CPACK_SOURCE_PACKAGE_FILE_NAME "hedgewars-src-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
    27 set(CPACK_SOURCE_PACKAGE_FILE_NAME "hedgewars-src-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
    28 set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "hedgewars")
    28 set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "hedgewars")
    29 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
    29 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
    30 set(CPACK_PACKAGE_INSTALL_DIRECTORY "Hedgewars ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
    30 set(CPACK_PACKAGE_INSTALL_DIRECTORY "Hedgewars ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")