2014-06-01 17:55:23 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the DXX-Rebirth project <http://www.dxx-rebirth.com/>.
|
|
|
|
* It is copyright by its individual contributors, as recorded in the
|
|
|
|
* project's Git history. See COPYING.txt at the top level for license
|
|
|
|
* terms and a link to the Git history.
|
|
|
|
*/
|
2013-03-03 01:03:33 +00:00
|
|
|
#include "vers_id.h"
|
|
|
|
|
|
|
|
#ifndef DESCENT_VERSION_EXTRA
|
|
|
|
#define DESCENT_VERSION_EXTRA "v" VERSION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(DXX_BUILD_DESCENT_I)
|
|
|
|
#define DXX_NAME_NUMBER "1"
|
|
|
|
#elif defined(DXX_BUILD_DESCENT_II)
|
|
|
|
#define DXX_NAME_NUMBER "2"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
const char g_descent_version[40] = "D" DXX_NAME_NUMBER "X-Rebirth " DESCENT_VERSION_EXTRA;
|
2013-07-19 22:32:28 +00:00
|
|
|
const char g_descent_build_datetime[21] = __DATE__ " " __TIME__;
|
2013-11-16 22:59:17 +00:00
|
|
|
|
|
|
|
#ifdef RECORD_BUILD_ENVIRONMENT
|
|
|
|
#define RECORD_BUILD_VARIABLE(X) extern const char g_descent_##X[]; \
|
|
|
|
const char g_descent_##X[] = #X "=" DESCENT_##X
|
|
|
|
|
|
|
|
RECORD_BUILD_ENVIRONMENT;
|
|
|
|
#endif
|