]> git.lizzy.rs Git - dragonfireclient.git/blob - src/config.h
Use system sqlite3/jthread libs if available
[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 #ifdef USE_CMAKE_CONFIG_H
10         #include "cmake_config.h"
11 #else
12         //#define INSTALL_PREFIX ""
13         #define VERSION_STRING "unknown"
14         #ifdef NDEBUG
15                 #define BUILD_TYPE "Release"
16         #else
17                 #define BUILD_TYPE "Debug"
18         #endif
19         #ifdef RUN_IN_PLACE
20                 #define RUN_IN_PLACE_BOOLSTRING "1"
21         #else
22                 #define RUN_IN_PLACE_BOOLSTRING "0"
23         #endif
24         #define BUILD_INFO "NON-CMAKE RUN_IN_PLACE="RUN_IN_PLACE_BOOLSTRING" BUILD_TYPE="BUILD_TYPE
25 #endif
26
27 #endif
28