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
20 #define USE_FREETYPE 0
21 #define STATIC_SHAREDIR ""
35 #ifdef USE_CMAKE_CONFIG_H
36 #include "cmake_config.h"
38 #define PROJECT_NAME CMAKE_PROJECT_NAME
40 #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
42 #define USE_GETTEXT CMAKE_USE_GETTEXT
44 #define USE_SOUND CMAKE_USE_SOUND
46 #define USE_CURL CMAKE_USE_CURL
48 #define USE_FREETYPE CMAKE_USE_FREETYPE
49 #undef STATIC_SHAREDIR
50 #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
52 #define USE_LEVELDB CMAKE_USE_LEVELDB
54 #define USE_LUAJIT CMAKE_USE_LUAJIT
56 #define USE_REDIS CMAKE_USE_REDIS
58 #define VERSION_MAJOR CMAKE_VERSION_MAJOR
60 #define VERSION_MINOR CMAKE_VERSION_MINOR
62 #define VERSION_PATCH CMAKE_VERSION_PATCH
63 #undef VERSION_PATCH_ORIG
64 #define VERSION_PATCH_ORIG CMAKE_VERSION_PATCH_ORIG
66 #define VERSION_STRING CMAKE_VERSION_STRING
67 #undef PRODUCT_VERSION_STRING
68 #define PRODUCT_VERSION_STRING CMAKE_PRODUCT_VERSION_STRING
69 #undef VERSION_EXTRA_STRING
70 #define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING