2017-02-03 13:11:58 +00:00
|
|
|
/*****************************************************************************
|
2019-03-17 08:16:15 +01:00
|
|
|
* Copyright (c) 2014-2019 OpenRCT2 developers
|
2017-02-03 13:11:58 +00:00
|
|
|
*
|
2018-06-15 14:07:34 +02:00
|
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
|
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
2017-02-03 13:11:58 +00:00
|
|
|
*
|
2018-06-15 14:07:34 +02:00
|
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
2017-02-03 13:11:58 +00:00
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
#include "Version.h"
|
|
|
|
|
|
2018-06-22 23:25:16 +02:00
|
|
|
#include <string>
|
|
|
|
|
|
2017-02-03 13:11:58 +00:00
|
|
|
#ifdef OPENRCT2_BUILD_INFO_HEADER
|
2018-07-21 16:17:06 +02:00
|
|
|
# include OPENRCT2_BUILD_INFO_HEADER
|
2017-02-03 13:11:58 +00:00
|
|
|
#endif
|
|
|
|
|
|
2018-06-22 23:25:16 +02:00
|
|
|
const char gVersionInfoFull[] = OPENRCT2_NAME ", "
|
2018-06-12 00:25:04 +02:00
|
|
|
#ifdef OPENRCT2_VERSION_TAG
|
|
|
|
|
OPENRCT2_VERSION_TAG
|
|
|
|
|
#else
|
2018-06-22 23:25:16 +02:00
|
|
|
"v" OPENRCT2_VERSION
|
2017-04-17 21:38:35 -05:00
|
|
|
#endif
|
2018-06-12 00:25:04 +02:00
|
|
|
#if defined(OPENRCT2_BRANCH) || defined(OPENRCT2_COMMIT_SHA1_SHORT) || !defined(NDEBUG)
|
2018-06-22 23:25:16 +02:00
|
|
|
" ("
|
2018-07-21 16:17:06 +02:00
|
|
|
# if defined(OPENRCT2_BRANCH) && defined(OPENRCT2_COMMIT_SHA1_SHORT)
|
2018-06-12 00:25:04 +02:00
|
|
|
OPENRCT2_COMMIT_SHA1_SHORT " on " OPENRCT2_BRANCH
|
2018-07-21 16:17:06 +02:00
|
|
|
# elif defined(OPENRCT2_COMMIT_SHA1_SHORT)
|
2018-06-12 00:25:04 +02:00
|
|
|
OPENRCT2_COMMIT_SHA1_SHORT
|
2018-07-21 16:17:06 +02:00
|
|
|
# elif defined(OPENRCT2_BRANCH)
|
2018-06-12 00:25:04 +02:00
|
|
|
OPENRCT2_BRANCH
|
2018-07-21 16:17:06 +02:00
|
|
|
# endif
|
|
|
|
|
# ifndef NDEBUG
|
2018-06-22 23:25:16 +02:00
|
|
|
", DEBUG"
|
2018-07-21 16:17:06 +02:00
|
|
|
# endif
|
2018-06-22 23:25:16 +02:00
|
|
|
")"
|
2017-04-17 21:38:35 -05:00
|
|
|
#endif
|
|
|
|
|
#ifdef OPENRCT2_BUILD_SERVER
|
2018-06-22 23:25:16 +02:00
|
|
|
" provided by " OPENRCT2_BUILD_SERVER
|
2017-02-03 13:11:58 +00:00
|
|
|
#endif
|
2017-04-17 21:38:35 -05:00
|
|
|
;
|