2011-01-18 14:05:29 +01:00
|
|
|
/*
|
|
|
|
If CMake is used, includes the cmake-generated cmake_config.h.
|
|
|
|
Otherwise use default values
|
|
|
|
*/
|
|
|
|
|
2017-08-17 22:19:39 +02:00
|
|
|
#pragma once
|
2011-01-18 14:05:29 +01:00
|
|
|
|
2017-09-26 20:30:42 +02:00
|
|
|
#define STRINGIFY(x) #x
|
|
|
|
#define STR(x) STRINGIFY(x)
|
|
|
|
|
|
|
|
|
2015-03-28 11:25:34 +01:00
|
|
|
#if defined USE_CMAKE_CONFIG_H
|
2015-02-28 00:05:29 +01:00
|
|
|
#include "cmake_config.h"
|
2015-03-28 11:25:34 +01:00
|
|
|
#else
|
2021-12-23 04:16:46 +01:00
|
|
|
#if defined (__ANDROID__)
|
|
|
|
#define PROJECT_NAME "minetest"
|
|
|
|
#define PROJECT_NAME_C "Minetest"
|
|
|
|
#define STATIC_SHAREDIR ""
|
2022-08-02 21:34:17 +02:00
|
|
|
#define ENABLE_UPDATE_CHECKER 0
|
2021-12-23 04:16:46 +01:00
|
|
|
#define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA)
|
|
|
|
#endif
|
2015-02-28 00:05:29 +01:00
|
|
|
#ifdef NDEBUG
|
|
|
|
#define BUILD_TYPE "Release"
|
|
|
|
#else
|
|
|
|
#define BUILD_TYPE "Debug"
|
|
|
|
#endif
|
2014-10-01 22:18:29 +02:00
|
|
|
#endif
|