2 If CMake is used, includes the cmake-generated cmake_config.h.
3 Otherwise use default values
9 #define PROJECT_NAME "Minetest"
10 #define VERSION_STRING "unknown"
11 #define RUN_IN_PLACE 0
15 #define STATIC_SHAREDIR ""
16 #define BUILD_INFO "non-cmake"
18 #ifdef USE_CMAKE_CONFIG_H
19 #include "cmake_config.h"
21 #define PROJECT_NAME CMAKE_PROJECT_NAME
23 #define VERSION_STRING CMAKE_VERSION_STRING
25 #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
27 #define USE_GETTEXT CMAKE_USE_GETTEXT
29 #define USE_SOUND CMAKE_USE_SOUND
31 #define USE_CURL CMAKE_USE_CURL
32 #undef STATIC_SHAREDIR
33 #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
35 #define BUILD_INFO CMAKE_BUILD_INFO