Crystal Space: csver.h Source File (Crystal Space Public API Reference)

| ## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csver.h

Go to the documentation of this file.

    00001 /*
    00002     Copyright (C) 1998-2007 by Jorrit Tyberghein
    00003
    00004     This library is free software; you can redistribute it and/or
    00005     modify it under the terms of the GNU Library General Public
    00006     License as published by the Free Software Foundation; either
    00007     version 2 of the License, or (at your option) any later version.
    00008
    00009     This library is distributed in the hope that it will be useful,
    00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012     Library General Public License for more details.
    00013
    00014     You should have received a copy of the GNU Library General Public
    00015     License along with this library; if not, write to the Free
    00016     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00017 */
    00018
    00019 #ifndef __CS_CSVER_H__
    00020 #define __CS_CSVER_H__
    00021
    00026 // *** NOTE ***
    00027 // Also update CS/configure.ac and CS/docs/texinfo/version.txi when updating
    00028 // the version number.
    00029
    00031 #define CS_VERSION_MAJOR CS_VER_QUOTE(1)
    00033 #define CS_VERSION_MINOR CS_VER_QUOTE(0)
    00035 #define CS_VERSION_BUILD CS_VER_QUOTE(0)
    00037 #define CS_RELEASE_DATE  CS_VER_QUOTE(Mon 15-Jan-2007)
    00038
    00039 #define CS_VER_QUOTE(X) #X
    00040
    00041 #if !defined(CS_PLATFORM_NAME)
    00043 #  define CS_PLATFORM_NAME "MysteryPlatform"
    00044 #  if defined(CS_COMPILER_GCC)
    00045 #  warning Unable to identify platform name using CS_PLATFORM_NAME.
    00046 #  elif defined(CS_COMPILER_MSVC)
    00047 #  pragma message("Unable to identify platform name using CS_PLATFORM_NAME.")
    00048 #  endif
    00049 #endif
    00050 #if !defined(CS_PROCESSOR_NAME)
    00052 #  define CS_PROCESSOR_NAME "MysteryProcessor"
    00053 #  if defined(CS_COMPILER_GCC)
    00054 #  warning Unable to identify processor name using CS_PROCESSOR_NAME.
    00055 #  elif defined(CS_COMPILER_MSVC)
    00056 #  pragma message("Unable to identify processor name using CS_PROCESSOR_NAME.")
    00057 #  endif
    00058 #endif
    00059 #if !defined(CS_COMPILER_NAME)
    00061 #  define CS_COMPILER_NAME "MysteryCompiler"
    00062 #  if defined(CS_COMPILER_GCC)
    00063 #  warning Unable to identify compiler name using CS_COMPILER_NAME.
    00064 #  elif defined(CS_COMPILER_MSVC)
    00065 #  pragma message("Unable to identify compiler name using CS_COMPILER_NAME.")
    00066 #  endif
    00067 #endif
    00068
    00070 #define CS_VERSION_NUMBER CS_VERSION_MAJOR "." CS_VERSION_MINOR \
    00071   CS_VERSION_BUILD
    00072
    00074 #define CS_VERSION CS_VERSION_NUMBER \
    00075   " [" CS_PLATFORM_NAME "-" CS_PROCESSOR_NAME "-" CS_COMPILER_NAME "]"
    00076
    00077 #endif // __CS_CSVER_H__