2 If CMake is used, includes the cmake-generated cmake_config.h.
3 Otherwise use default values
9 #define PROJECT_NAME "Minetest"
10 #define RUN_IN_PLACE 0
14 #define USE_FREETYPE 0
15 #define STATIC_SHAREDIR ""
19 #ifdef USE_CMAKE_CONFIG_H
20 #include "cmake_config.h"
22 #define PROJECT_NAME CMAKE_PROJECT_NAME
24 #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
26 #define USE_GETTEXT CMAKE_USE_GETTEXT
28 #define USE_SOUND CMAKE_USE_SOUND
30 #define USE_CURL CMAKE_USE_CURL
32 #define USE_FREETYPE CMAKE_USE_FREETYPE
33 #undef STATIC_SHAREDIR
34 #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
36 #define USE_LEVELDB CMAKE_USE_LEVELDB
38 #define USE_LUAJIT CMAKE_USE_LUAJIT
40 #define VERSION_MAJOR CMAKE_VERSION_MAJOR
42 #define VERSION_MINOR CMAKE_VERSION_MINOR
44 #define VERSION_PATCH CMAKE_VERSION_PATCH
45 #undef VERSION_PATCH_ORIG
46 #define VERSION_PATCH_ORIG CMAKE_VERSION_PATCH_ORIG
48 #define VERSION_STRING CMAKE_VERSION_STRING
49 #undef PRODUCT_VERSION_STRING
50 #define PRODUCT_VERSION_STRING CMAKE_PRODUCT_VERSION_STRING
51 #undef VERSION_EXTRA_STRING
52 #define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING