]> git.lizzy.rs Git - minetest.git/blobdiff - CMakeLists.txt
Implement --debugger option to improve UX when debugging crashes (#13157)
[minetest.git] / CMakeLists.txt
index d4ecda37ba40510d9761eb54637dd685aff449e8..8959f6129887c2deceffa3554f03744714f356ad 100644 (file)
@@ -16,7 +16,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
 set(GCC_MINIMUM_VERSION "5.1")
 set(CLANG_MINIMUM_VERSION "3.5")
 
-# Also remember to set PROTOCOL_VERSION in network/networkprotocol.h when releasing
+# You should not need to edit these manually, use util/bump_version.sh
 set(VERSION_MAJOR 5)
 set(VERSION_MINOR 7)
 set(VERSION_PATCH 0)
@@ -127,7 +127,7 @@ if(BUILD_CLIENT AND TARGET IrrlichtMt::IrrlichtMt)
        endif()
        message(STATUS "Found IrrlichtMt ${IrrlichtMt_VERSION}")
 
-       set(TARGET_VER_S 1.9.0mt8)
+       set(TARGET_VER_S 1.9.0mt9)
        string(REPLACE "mt" "." TARGET_VER ${TARGET_VER_S})
        if(IrrlichtMt_VERSION VERSION_LESS ${TARGET_VER})
                message(FATAL_ERROR "At least IrrlichtMt ${TARGET_VER_S} is required to build")
@@ -249,8 +249,13 @@ 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/devtest" DESTINATION "${SHAREDIR}/games/"
-       COMPONENT "SUBGAME_MINIMAL" OPTIONAL PATTERN ".git*" EXCLUDE )
+
+set(INSTALL_DEVTEST FALSE CACHE BOOL "Install Development Test")
+
+if(INSTALL_DEVTEST)
+       install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/games/devtest" DESTINATION "${SHAREDIR}/games/"
+               PATTERN ".git*" EXCLUDE )
+endif()
 
 if(BUILD_CLIENT)
        install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/client/shaders" DESTINATION "${SHAREDIR}/client")
@@ -322,19 +327,12 @@ cpack_add_component(SUBGAME_MINETEST_GAME
        GROUP "Games"
 )
 
-cpack_add_component(SUBGAME_MINIMAL
-       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 "Games"
-)
-
 cpack_add_component_group(Subgames
        DESCRIPTION "Games for the Minetest engine."
 )
 
 if(WIN32)
-       # Include all dynamically linked runtime libaries such as MSVCRxxx.dll
+       # Include all dynamically linked runtime libraries such as MSVCRxxx.dll
        include(InstallRequiredSystemLibraries)
 
        if(RUN_IN_PLACE)