]> git.lizzy.rs Git - dragonfireclient.git/blob - src/config.h
On-demand item meshes and textures
[dragonfireclient.git] / src / config.h
1 /*
2         If CMake is used, includes the cmake-generated cmake_config.h.
3         Otherwise use default values
4 */
5
6 #ifndef CONFIG_H
7 #define CONFIG_H
8
9 #define PROJECT_NAME "Minetest"
10 #define VERSION_STRING "unknown"
11 #define RUN_IN_PLACE 0
12 #define USE_GETTEXT 0
13 #define USE_SOUND 0
14 #define STATIC_SHAREDIR ""
15 #define BUILD_INFO "non-cmake"
16
17 #ifdef USE_CMAKE_CONFIG_H
18         #include "cmake_config.h"
19         #undef PROJECT_NAME
20         #define PROJECT_NAME CMAKE_PROJECT_NAME
21         #undef VERSION_STRING
22         #define VERSION_STRING CMAKE_VERSION_STRING
23         #undef RUN_IN_PLACE
24         #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
25         #undef USE_GETTEXT
26         #define USE_GETTEXT CMAKE_USE_GETTEXT
27         #undef USE_SOUND
28         #define USE_SOUND CMAKE_USE_SOUND
29         #undef STATIC_SHAREDIR
30         #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
31         #undef BUILD_INFO
32         #define BUILD_INFO CMAKE_BUILD_INFO
33 #endif
34
35 #endif
36