mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
42 lines
1.4 KiB
C++
42 lines
1.4 KiB
C++
/*****************************************************************************
|
|
* Copyright (c) 2014-2019 OpenRCT2 developers
|
|
*
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
*
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
*****************************************************************************/
|
|
|
|
#include "Version.h"
|
|
|
|
#include <string>
|
|
|
|
#ifdef OPENRCT2_BUILD_INFO_HEADER
|
|
# include OPENRCT2_BUILD_INFO_HEADER
|
|
#endif
|
|
|
|
const char gVersionInfoFull[] = OPENRCT2_NAME ", "
|
|
#ifdef OPENRCT2_VERSION_TAG
|
|
OPENRCT2_VERSION_TAG
|
|
#else
|
|
"v" OPENRCT2_VERSION
|
|
#endif
|
|
#if defined(OPENRCT2_BRANCH) || defined(OPENRCT2_COMMIT_SHA1_SHORT) || !defined(NDEBUG)
|
|
" ("
|
|
# if defined(OPENRCT2_BRANCH) && defined(OPENRCT2_COMMIT_SHA1_SHORT)
|
|
OPENRCT2_COMMIT_SHA1_SHORT " on " OPENRCT2_BRANCH
|
|
# elif defined(OPENRCT2_COMMIT_SHA1_SHORT)
|
|
OPENRCT2_COMMIT_SHA1_SHORT
|
|
# elif defined(OPENRCT2_BRANCH)
|
|
OPENRCT2_BRANCH
|
|
# endif
|
|
# ifndef NDEBUG
|
|
", DEBUG"
|
|
# endif
|
|
")"
|
|
#endif
|
|
#ifdef OPENRCT2_BUILD_SERVER
|
|
" provided by " OPENRCT2_BUILD_SERVER
|
|
#endif
|
|
;
|