]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - CMakeLists.txt
Small AutoTool Fix
[dragonfireclient.git] / CMakeLists.txt
index b1734f0c7c368640e72a02dcb41a84847571a92d..80fba3603b999ccee4be924c712a248298501066 100644 (file)
@@ -7,7 +7,7 @@ endif()
 
 # This can be read from ${PROJECT_NAME} after project() is called
 project(minetest)
-set(PROJECT_NAME_CAPITALIZED "Minetest")
+set(PROJECT_NAME_CAPITALIZED "Dragonfire")
 
 # Works only for cmake 3.1 and greater
 set(CMAKE_CXX_STANDARD 11)
@@ -16,12 +16,12 @@ set(CLANG_MINIMUM_VERSION "3.4")
 
 # Also remember to set PROTOCOL_VERSION in network/networkprotocol.h when releasing
 set(VERSION_MAJOR 5)
-set(VERSION_MINOR 2)
+set(VERSION_MINOR 4)
 set(VERSION_PATCH 0)
-set(VERSION_EXTRA "GalwayGirl Client" CACHE STRING "Stuff to append to version string")
+set(VERSION_EXTRA "" CACHE STRING "Stuff to append to version string")
 
 # Change to false for releases
-set(DEVELOPMENT_BUILD TRUE)
+set(DEVELOPMENT_BUILD FALSE)
 
 set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
 if(VERSION_EXTRA)
@@ -49,6 +49,7 @@ set(RUN_IN_PLACE ${DEFAULT_RUN_IN_PLACE} CACHE BOOL
 
 set(BUILD_CLIENT TRUE CACHE BOOL "Build client")
 set(BUILD_SERVER FALSE CACHE BOOL "Build server")
+set(BUILD_UNITTESTS TRUE CACHE BOOL "Build unittests")
 
 
 set(WARN_ALL TRUE CACHE BOOL "Enable -Wall for Release build")
@@ -102,7 +103,7 @@ elseif(UNIX) # Linux, BSD etc
                set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications")
                set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/metainfo")
                set(ICONDIR "${CMAKE_INSTALL_PREFIX}/share/icons")
-               set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/locale")
+               set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale")
        endif()
 endif()
 
@@ -166,7 +167,7 @@ endif()
 
 install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/games/minetest_game" DESTINATION "${SHAREDIR}/games/" 
        COMPONENT "SUBGAME_MINETEST_GAME" OPTIONAL PATTERN ".git*" EXCLUDE )
-install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/games/minimal" DESTINATION "${SHAREDIR}/games/" 
+install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/games/devtest" DESTINATION "${SHAREDIR}/games/"
        COMPONENT "SUBGAME_MINIMAL" OPTIONAL PATTERN ".git*" EXCLUDE )
 
 if(BUILD_CLIENT)
@@ -248,15 +249,15 @@ cpack_add_component(Docs
 
 cpack_add_component(SUBGAME_MINETEST_GAME
        DISPLAY_NAME "Minetest Game"
-       DESCRIPTION "The official subgame for the Minetest engine, that can easily extended by mods."
-       GROUP "Subgames"
+       DESCRIPTION "The default game bundled in the Minetest engine. Mainly used as a modding base."
+       GROUP "Games"
 )
 
 cpack_add_component(SUBGAME_MINIMAL
-       DISPLAY_NAME "Minimal development test"
-       DESCRIPTION "A minimal subgame helping to develop the engine."
+       DISPLAY_NAME "Development Test"
+       DESCRIPTION "A basic testing environment used for engine development and sometimes for testing mods."
        DISABLED #DISABLED does not mean it is disabled, and is just not selected by default.
-       GROUP "Subgames"
+       GROUP "Games"
 )
 
 cpack_add_component_group(Subgames
@@ -325,4 +326,3 @@ if(DOXYGEN_FOUND)
                COMMENT "Generating API documentation with Doxygen" VERBATIM
        )
 endif()
-