1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Place project name and gettext use in config

This commit is contained in:
Giuseppe Bilotta 2011-07-23 15:47:09 +02:00
parent f4a08f7fb3
commit 4ffba76bb3
2 changed files with 10 additions and 2 deletions

View file

@ -9,6 +9,8 @@
#ifdef USE_CMAKE_CONFIG_H
#include "cmake_config.h"
#else
#define PROJECT_NAME "minetest"
//#define INSTALL_PREFIX ""
#define VERSION_STRING "unknown"
#ifdef NDEBUG
@ -21,7 +23,12 @@
#else
#define RUN_IN_PLACE_BOOLSTRING "0"
#endif
#define BUILD_INFO "NON-CMAKE RUN_IN_PLACE="RUN_IN_PLACE_BOOLSTRING" BUILD_TYPE="BUILD_TYPE
#ifdef USE_GETTEXT
#define USE_GETTEXT_BOOLSTRING "ON"
#else
#define USE_GETTEXT_BOOLSTRING "OFF"
#endif
#define BUILD_INFO "NON-CMAKE RUN_IN_PLACE="RUN_IN_PLACE_BOOLSTRING" USE_GETTEXT="USE_GETTEXT_BOOLSTRING" BUILD_TYPE="BUILD_TYPE
#endif
#endif