]> git.lizzy.rs Git - minetest.git/blob - src/config.h
Node texture animation
[minetest.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 BUILD_TYPE "unknown"
12 #define USE_GETTEXT 0
13 #define USE_SOUND 0
14 #define BUILD_INFO "non-cmake"
15
16 #ifdef USE_CMAKE_CONFIG_H
17         #include "cmake_config.h"
18         #undef PROJECT_NAME
19         #define PROJECT_NAME CMAKE_PROJECT_NAME
20         #undef VERSION_STRING
21         #define VERSION_STRING CMAKE_VERSION_STRING
22         #undef BUILD_INFO
23         #define BUILD_INFO CMAKE_BUILD_INFO
24         #undef USE_GETTEXT
25         #define USE_GETTEXT CMAKE_USE_GETTEXT
26         #undef USE_SOUND
27         #define USE_SOUND CMAKE_USE_SOUND
28         #undef BUILD_INFO
29         #define BUILD_INFO CMAKE_BUILD_INFO
30 #endif
31
32 #endif
33