]> git.lizzy.rs Git - minetest.git/blob - src/config.h
Decrease minimum for repeat_place_time (#13165)
[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 #pragma once
7
8 #define STRINGIFY(x) #x
9 #define STR(x) STRINGIFY(x)
10
11
12 #if defined USE_CMAKE_CONFIG_H
13         #include "cmake_config.h"
14 #else
15         #if defined (__ANDROID__)
16                 #define PROJECT_NAME "minetest"
17                 #define PROJECT_NAME_C "Minetest"
18                 #define STATIC_SHAREDIR ""
19                 #define ENABLE_UPDATE_CHECKER 0
20                 #define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA)
21         #endif
22         #ifdef NDEBUG
23                 #define BUILD_TYPE "Release"
24         #else
25                 #define BUILD_TYPE "Debug"
26         #endif
27 #endif