2011-01-18 05:05:29 -08:00
|
|
|
/*
|
|
|
|
If CMake is used, includes the cmake-generated cmake_config.h.
|
|
|
|
Otherwise use default values
|
|
|
|
*/
|
|
|
|
|
2017-08-17 13:19:39 -07:00
|
|
|
#pragma once
|
2011-01-18 05:05:29 -08:00
|
|
|
|
2017-09-26 11:30:42 -07:00
|
|
|
#define STRINGIFY(x) #x
|
|
|
|
#define STR(x) STRINGIFY(x)
|
|
|
|
|
|
|
|
|
2015-03-28 03:25:34 -07:00
|
|
|
#if defined USE_CMAKE_CONFIG_H
|
2015-02-27 15:05:29 -08:00
|
|
|
#include "cmake_config.h"
|
2020-09-04 11:07:19 -07:00
|
|
|
#elif defined(__ANDROID__) || defined(__APPLE__)
|
2020-08-25 00:59:52 -07:00
|
|
|
#define PROJECT_NAME "multicraft"
|
|
|
|
#define PROJECT_NAME_C "MultiCraft"
|
2015-02-27 15:05:29 -08:00
|
|
|
#define STATIC_SHAREDIR ""
|
2022-08-02 00:48:01 -07:00
|
|
|
#define ENABLE_UPDATE_CHECKER 1
|
2020-04-15 07:27:40 -07:00
|
|
|
#define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA)
|
|
|
|
#ifdef NDEBUG
|
2015-03-28 03:25:34 -07:00
|
|
|
#define BUILD_TYPE "Release"
|
|
|
|
#else
|
|
|
|
#define BUILD_TYPE "Debug"
|
|
|
|
#endif
|
|
|
|
#else
|
2015-02-27 15:05:29 -08:00
|
|
|
#ifdef NDEBUG
|
|
|
|
#define BUILD_TYPE "Release"
|
|
|
|
#else
|
|
|
|
#define BUILD_TYPE "Debug"
|
|
|
|
#endif
|
2014-10-01 13:18:29 -07:00
|
|
|
#endif
|