1/* 2 * OpenClonk, http://www.openclonk.org 3 * 4 * Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de 5 * Copyright (c) 2009-2016, The OpenClonk Team and contributors 6 * 7 * Distributed under the terms of the ISC license; see accompanying file 8 * "COPYING" for details. 9 * 10 * "Clonk" is a registered trademark of Matthes Bender, used with permission. 11 * See accompanying file "TRADEMARK" for details. 12 * 13 * To redistribute this file separately, substitute the full license texts 14 * for the above references. 15 */ 16 17#ifndef C4VERSION_H 18 19#define C4VERSION_H 20 21// These are filled in automatically by CMake. When in doubt, edit 22// Version.txt instead! 23 24#define C4CFG_Company "@C4PROJECT@" 25#define C4COPYRIGHT_YEAR "@C4COPYRIGHT_YEAR@" 26#define C4COPYRIGHT_COMPANY "@C4PROJECT@" 27 28#define C4ENGINENAME "@C4ENGINENAME@" 29#define C4ENGINENICK "@C4ENGINENICK@" 30 31#define C4ENGINEID "@C4ENGINEID@" 32 33#define C4XVER1 @C4XVER1@ 34#define C4XVER2 @C4XVER2@ 35#cmakedefine01 C4REVISION_DIRTY 36#if C4REVISION_DIRTY 37#define C4REVISION "@C4REVISION@+" 38#define C4REVISION_TS __DATE__ " " __TIME__ 39#else 40#define C4REVISION "@C4REVISION@" 41#define C4REVISION_TS "@C4REVISION_TS@" 42#endif 43 44// Build Options 45#ifdef _DEBUG 46#define C4BUILDDEBUG " dbg" 47#else 48#define C4BUILDDEBUG 49#endif 50#define C4BUILDOPT C4BUILDDEBUG 51 52#define C4ENGINECAPTION "@C4ENGINECAPTION@" 53 54#define C4VERSION "@C4VERSION@" C4BUILDOPT 55 56// if this is set, add a build identifier to the logs and crash dumps 57#define OC_BUILD_ID "@OC_BUILD_ID@" 58 59#endif 60