csver.h
Go to the documentation of this file.00001 /* ATTENTION: This file is generated from csver.h.template, 00002 make changes _there_ instead */ 00003 /* 00004 Copyright (C) 1998-2007 by Jorrit Tyberghein 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public 00017 License along with this library; if not, write to the Free 00018 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 */ 00020 00021 #ifndef __CS_CSVER_H__ 00022 #define __CS_CSVER_H__ 00023 00028 // *** NOTE *** 00029 // Also update CS/configure.ac, CS/docs/texinfo/version.txi, and 00030 // CS/mk/autoconf/crystal.m4 when updating the version number. 00031 00032 /* 00033 * Set if this is an unstable (development) CS version. 00034 * Also affects the version number - unstable versions have the RCS revision 00035 * as the 'build' version component. 00036 */ 00037 //#define CS_VERSION_UNSTABLE 00038 00059 //CS_RCSREV_OFFSET 19 00060 #ifndef CS_VERSION_RCSREV 00061 #define CS_VERSION_RCSREV 632 00062 #endif 00063 00066 00067 #define CS_VERSION_NUM_MAJOR 1 00069 #define CS_VERSION_NUM_MINOR 4 00071 #define CS_VERSION_NUM_RELEASE 0 00072 00077 #define CS_VERSION_NUM_BUILD CS_VERSION_RCSREV 00078 00080 #define CS_VERSION_NUM_COMPARABLE(Major,Minor,Release,Build) \ 00081 ((Major)*10000000 + (Minor)*100000 + (Release)*1000 + (Build)) 00083 #define CS_VERSION_NUM_COMPARABLE_CURRENT \ 00084 CS_VERSION_NUM_COMPARABLE(CS_VERSION_NUM_MAJOR, CS_VERSION_NUM_MINOR, \ 00085 CS_VERSION_NUM_RELEASE, CS_VERSION_NUM_BUILD) 00086 00090 00091 #define CS_VERSION_MAJOR CS_VER_QUOTE(CS_VERSION_NUM_MAJOR) 00093 #define CS_VERSION_MINOR CS_VER_QUOTE(CS_VERSION_NUM_MINOR) 00095 #define CS_VERSION_RELEASE CS_VER_QUOTE(CS_VERSION_NUM_RELEASE) 00097 #define CS_VERSION_BUILD CS_VER_QUOTE(CS_VERSION_NUM_BUILD) 00099 #define CS_RELEASE_DATE CS_VER_QUOTE_(Mon 5-Jun-2008) 00100 00102 #define CS_VER_QUOTE_(X) #X 00103 #define CS_VER_QUOTE(X) CS_VER_QUOTE_(X) 00104 00105 #if !defined(CS_PLATFORM_NAME) 00107 # define CS_PLATFORM_NAME "MysteryPlatform" 00108 # if defined(CS_COMPILER_GCC) 00109 # warning Unable to identify platform name using CS_PLATFORM_NAME. 00110 # elif defined(CS_COMPILER_MSVC) 00111 # pragma message("Unable to identify platform name using CS_PLATFORM_NAME.") 00112 # endif 00113 #endif 00114 #if !defined(CS_PROCESSOR_NAME) 00116 # define CS_PROCESSOR_NAME "MysteryProcessor" 00117 # if defined(CS_COMPILER_GCC) 00118 # warning Unable to identify processor name using CS_PROCESSOR_NAME. 00119 # elif defined(CS_COMPILER_MSVC) 00120 # pragma message("Unable to identify processor name using CS_PROCESSOR_NAME.") 00121 # endif 00122 #endif 00123 #if !defined(CS_COMPILER_NAME) 00125 # define CS_COMPILER_NAME "MysteryCompiler" 00126 # if defined(CS_COMPILER_GCC) 00127 # warning Unable to identify compiler name using CS_COMPILER_NAME. 00128 # elif defined(CS_COMPILER_MSVC) 00129 # pragma message("Unable to identify compiler name using CS_COMPILER_NAME.") 00130 # endif 00131 #endif 00132 00134 #define CS_VERSION_NUMBER CS_VERSION_MAJOR "." CS_VERSION_MINOR "." \ 00135 CS_VERSION_RELEASE "." CS_VERSION_BUILD 00136 00143 #ifdef CS_VERSION_UNSTABLE 00144 #define CS_VERSION_NUMBER_COMPATIBLE CS_VERSION_NUMBER 00145 #else 00146 #define CS_VERSION_NUMBER_COMPATIBLE CS_VERSION_MAJOR "." CS_VERSION_MINOR 00147 #endif 00148 00150 #define CS_VERSION CS_VERSION_NUMBER \ 00151 " [" CS_PLATFORM_NAME "-" CS_PROCESSOR_NAME "-" CS_COMPILER_NAME "]" 00152 00153 #endif // __CS_CSVER_H__
Generated for Crystal Space 1.4.0 by doxygen 1.5.8