2 If CMake is used, includes the cmake-generated cmake_config.h.
3 Otherwise use default values
9 #define STRINGIFY(x) #x
10 #define STR(x) STRINGIFY(x)
13 #if defined USE_CMAKE_CONFIG_H
14 #include "cmake_config.h"
15 #elif defined (__ANDROID__) || defined (ANDROID)
16 #define PROJECT_NAME "minetest"
17 #define PROJECT_NAME_C "Minetest"
18 #define STATIC_SHAREDIR ""
19 #include "android_version.h"
21 #define BUILD_TYPE "Release"
23 #define BUILD_TYPE "Debug"
27 #define BUILD_TYPE "Release"
29 #define BUILD_TYPE "Debug"
33 #define BUILD_INFO "BUILD_TYPE=" BUILD_TYPE \
34 " RUN_IN_PLACE=" STR(RUN_IN_PLACE) \
35 " USE_GETTEXT=" STR(USE_GETTEXT) \
36 " USE_SOUND=" STR(USE_SOUND) \
37 " USE_CURL=" STR(USE_CURL) \
38 " USE_FREETYPE=" STR(USE_FREETYPE) \
39 " USE_LUAJIT=" STR(USE_LUAJIT) \
40 " STATIC_SHAREDIR=" STR(STATIC_SHAREDIR)