2009-05-08 13:28:41 +00:00
|
|
|
/*
|
|
|
|
* OpenClonk, http://www.openclonk.org
|
|
|
|
*
|
|
|
|
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de
|
2016-04-03 18:18:29 +00:00
|
|
|
* Copyright (c) 2009-2016, The OpenClonk Team and contributors
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2015-02-07 14:55:05 +00:00
|
|
|
* Distributed under the terms of the ISC license; see accompanying file
|
|
|
|
* "COPYING" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2015-02-07 14:55:05 +00:00
|
|
|
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
|
|
|
|
* See accompanying file "TRADEMARK" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2015-02-07 14:55:05 +00:00
|
|
|
* To redistribute this file separately, substitute the full license texts
|
|
|
|
* for the above references.
|
2009-05-08 13:28:41 +00:00
|
|
|
*/
|
2015-02-07 14:55:05 +00:00
|
|
|
|
2009-05-08 13:28:41 +00:00
|
|
|
#ifndef C4VERSION_H
|
|
|
|
|
|
|
|
#define C4VERSION_H
|
|
|
|
|
2010-08-01 13:49:51 +00:00
|
|
|
// These are filled in automatically by CMake. When in doubt, edit
|
|
|
|
// Version.txt instead!
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2010-08-01 14:26:21 +00:00
|
|
|
#define C4CFG_Company "@C4PROJECT@"
|
|
|
|
#define C4COPYRIGHT_YEAR "@C4COPYRIGHT_YEAR@"
|
|
|
|
#define C4COPYRIGHT_COMPANY "@C4PROJECT@"
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2010-08-01 14:26:21 +00:00
|
|
|
#define C4ENGINENAME "@C4ENGINENAME@"
|
|
|
|
#define C4ENGINENICK "@C4ENGINENICK@"
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2010-08-01 14:26:21 +00:00
|
|
|
#define C4ENGINEID "@C4ENGINEID@"
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2010-08-01 14:26:21 +00:00
|
|
|
#define C4XVER1 @C4XVER1@
|
|
|
|
#define C4XVER2 @C4XVER2@
|
2017-04-12 10:29:14 +00:00
|
|
|
#cmakedefine01 C4REVISION_DIRTY
|
|
|
|
#if C4REVISION_DIRTY
|
|
|
|
#define C4REVISION "@C4REVISION@+"
|
|
|
|
#define C4REVISION_TS __DATE__ " " __TIME__
|
|
|
|
#else
|
2010-08-01 14:26:21 +00:00
|
|
|
#define C4REVISION "@C4REVISION@"
|
2017-04-12 10:29:14 +00:00
|
|
|
#define C4REVISION_TS "@C4REVISION_TS@"
|
|
|
|
#endif
|
2018-10-03 10:10:12 +00:00
|
|
|
#define C4REVISION_BRANCH "@C4REVISION_BRANCH@"
|
2009-05-08 13:28:41 +00:00
|
|
|
|
|
|
|
// Build Options
|
|
|
|
#ifdef _DEBUG
|
2010-03-28 17:58:21 +00:00
|
|
|
#define C4BUILDDEBUG " dbg"
|
2009-05-08 13:28:41 +00:00
|
|
|
#else
|
2010-03-28 17:58:21 +00:00
|
|
|
#define C4BUILDDEBUG
|
2009-05-08 13:28:41 +00:00
|
|
|
#endif
|
|
|
|
#define C4BUILDOPT C4BUILDDEBUG
|
2010-09-24 22:43:30 +00:00
|
|
|
|
2015-05-21 19:59:49 +00:00
|
|
|
#define C4ENGINECAPTION "@C4ENGINECAPTION@"
|
2010-09-24 22:43:30 +00:00
|
|
|
|
2015-05-21 19:59:49 +00:00
|
|
|
#define C4VERSION "@C4VERSION@" C4BUILDOPT
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2013-02-20 17:27:07 +00:00
|
|
|
// if this is set, add a build identifier to the logs and crash dumps
|
|
|
|
#define OC_BUILD_ID "@OC_BUILD_ID@"
|
|
|
|
|
2009-05-08 13:28:41 +00:00
|
|
|
#endif
|