CMakeLists.txt
branch0.9.9
changeset 1726 95c15740c924
parent 1624 3cbf01d31e5c
equal deleted inserted replaced
1724:830cfb83a4db 1726:95c15740c924
     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 "9-dev")
    12 set(CPACK_PACKAGE_VERSION_PATCH "9")
    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 22)
    22 set(HEDGEWARS_PROTO_VER 23)
    23 
    23 
    24 if(WITH_SERVER)
    24 if(WITH_SERVER)
    25 	set(HAVE_NETSERVER true)
    25 	set(HAVE_NETSERVER true)
    26 	add_subdirectory(netserver)
    26 	add_subdirectory(netserver)
    27 else(WITH_SERVER)
    27 else(WITH_SERVER)