diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-07-23 15:23:33 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-23 15:23:33 +0300 |
commit | aef1332e4293d873ce5b827785daa3097209c5e6 (patch) | |
tree | 0b8d6c511438b44ab8c0bbd540760cdb99a74217 /src/config.h | |
parent | 16fc8b5fc2dbf8f01f143a960cb04828d6e6bc48 (diff) | |
download | minetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.gz minetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.bz2 minetest-aef1332e4293d873ce5b827785daa3097209c5e6.zip |
Improve build configuration options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index 233d74717..aedca8b20 100644 --- a/src/config.h +++ b/src/config.h @@ -8,9 +8,10 @@ #define PROJECT_NAME "Minetest" #define VERSION_STRING "unknown" -#define BUILD_TYPE "unknown" +#define RUN_IN_PLACE 0 #define USE_GETTEXT 0 #define USE_SOUND 0 +#define STATIC_SHAREDIR "" #define BUILD_INFO "non-cmake" #ifdef USE_CMAKE_CONFIG_H @@ -19,12 +20,14 @@ #define PROJECT_NAME CMAKE_PROJECT_NAME #undef VERSION_STRING #define VERSION_STRING CMAKE_VERSION_STRING - #undef BUILD_INFO - #define BUILD_INFO CMAKE_BUILD_INFO + #undef RUN_IN_PLACE + #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE #undef USE_GETTEXT #define USE_GETTEXT CMAKE_USE_GETTEXT #undef USE_SOUND #define USE_SOUND CMAKE_USE_SOUND + #undef STATIC_SHAREDIR + #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR #undef BUILD_INFO #define BUILD_INFO CMAKE_BUILD_INFO #endif |