2011-01-18 14:05:29 +01:00
|
|
|
/*
|
|
|
|
If CMake is used, includes the cmake-generated cmake_config.h.
|
|
|
|
Otherwise use default values
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
2012-03-23 13:01:14 +01:00
|
|
|
#define PROJECT_NAME "Minetest"
|
|
|
|
#define VERSION_STRING "unknown"
|
2012-07-23 14:23:33 +02:00
|
|
|
#define RUN_IN_PLACE 0
|
2012-03-23 13:01:14 +01:00
|
|
|
#define USE_GETTEXT 0
|
2012-03-25 03:03:51 +02:00
|
|
|
#define USE_SOUND 0
|
2012-07-23 14:23:33 +02:00
|
|
|
#define STATIC_SHAREDIR ""
|
2012-03-23 13:01:14 +01:00
|
|
|
#define BUILD_INFO "non-cmake"
|
|
|
|
|
2011-01-18 14:05:29 +01:00
|
|
|
#ifdef USE_CMAKE_CONFIG_H
|
|
|
|
#include "cmake_config.h"
|
2012-03-23 13:01:14 +01:00
|
|
|
#undef PROJECT_NAME
|
|
|
|
#define PROJECT_NAME CMAKE_PROJECT_NAME
|
|
|
|
#undef VERSION_STRING
|
|
|
|
#define VERSION_STRING CMAKE_VERSION_STRING
|
2012-07-23 14:23:33 +02:00
|
|
|
#undef RUN_IN_PLACE
|
|
|
|
#define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
|
2012-03-23 13:01:14 +01:00
|
|
|
#undef USE_GETTEXT
|
|
|
|
#define USE_GETTEXT CMAKE_USE_GETTEXT
|
2012-03-25 03:03:51 +02:00
|
|
|
#undef USE_SOUND
|
|
|
|
#define USE_SOUND CMAKE_USE_SOUND
|
2012-07-23 14:23:33 +02:00
|
|
|
#undef STATIC_SHAREDIR
|
|
|
|
#define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
|
2012-03-23 13:01:14 +01:00
|
|
|
#undef BUILD_INFO
|
|
|
|
#define BUILD_INFO CMAKE_BUILD_INFO
|
2011-01-18 14:05:29 +01:00
|
|
|
#endif
|
2012-03-23 13:01:14 +01:00
|
|
|
|
2011-01-18 14:05:29 +01:00
|
|
|
#endif
|
|
|
|
|