Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

NVSGVersion.h

Go to the documentation of this file.
00001 // Copyright NVIDIA Corporation 2002-2004
00002 // TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
00003 // *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
00004 // OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
00005 // AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL NVIDIA OR ITS SUPPLIERS
00006 // BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES
00007 // WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
00008 // BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS)
00009 // ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS
00010 // BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES 
00011 
00012 #pragma once
00013 
00015 #if !defined( DOXYGEN_IGNORE )    //  no need to document the version header
00016 //---------------------------------------------------------------------------
00017 // Version Number
00018 //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
00019 // - This is the ONLY place to edit the version number.
00020 // - There must be no unnecessary leading zeros in the numbers.
00021 //   (e.g.: don't use '02' - use '2' instead)
00022 //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
00023 // The build group should read this before they start 
00024 // compiling the solution and set the environment variable 
00025 // NVSGVERSIONTAG regarding this value. The version tag is the major version number.
00026 // NVSGVERSIONTAG=0 
00027 #define NVSG_VER_MARKETING   1
00028 #define NVSG_VER_MAJOR       0
00029 #define NVSG_VER_MINOR      11  
00030 #define NVSG_VER_BUGFIX      4
00031 
00032 //#define ALPHA
00033 #ifdef ALPHA
00034   #define _ALPHAREL     " 0.0"
00035 #endif
00036 
00037 #ifdef LINUX
00038   #define BETA 
00039 #elif defined _WIN64
00040   #define BETA 
00041 #elif defined _WIN32
00042   //#define BETA 
00043 #endif
00044 
00045 #ifdef BETA
00046   #define _BETA         " 1.9"
00047 #endif
00048 
00049 // MaKe STRing helper macro
00050 #define MKSTR(s)    MKSTR_i(s)
00051 #define MKSTR_i(s)  MKSTR_ii(s)
00052 #define MKSTR_ii(s) #s
00053 
00054 // conditionally add a leading zero to the single parts of the version string
00055 #if NVSG_VER_MARKETING < 10
00056 #define NVSG_VER_MARKETING_STR  "0" MKSTR(NVSG_VER_MARKETING)
00057 #else
00058 #define NVSG_VER_MARKETING_STR      MKSTR(NVSG_VER_MARKETING)
00059 #endif
00060 #if NVSG_VER_MAJOR < 10
00061 #define NVSG_VER_MAJOR_STR      "0" MKSTR(NVSG_VER_MAJOR)
00062 #else
00063 #define NVSG_VER_MAJOR_STR          MKSTR(NVSG_VER_MAJOR)
00064 #endif
00065 #if NVSG_VER_MINOR < 10
00066 #define NVSG_VER_MINOR_STR      "0" MKSTR(NVSG_VER_MINOR)
00067 #else
00068 #define NVSG_VER_MINOR_STR          MKSTR(NVSG_VER_MINOR)
00069 #endif
00070 #if NVSG_VER_BUGFIX < 10
00071 #define NVSG_VER_BUGFIX_STR     "0" MKSTR(NVSG_VER_BUGFIX)
00072 #else
00073 #define NVSG_VER_BUGFIX_STR         MKSTR(NVSG_VER_BUGFIX)
00074 #endif
00075 
00076 #define SDK_VENDOR "NVIDIA"
00077 #define SDK_NAME   "NVSG"
00078 
00079 // internal version string
00080 #define _VER_STR   NVSG_VER_MARKETING_STR "."\
00081                    NVSG_VER_MAJOR_STR "."\
00082                    NVSG_VER_MINOR_STR "."\
00083                    NVSG_VER_BUGFIX_STR
00084 
00085 // no need to update these
00086 //
00087 #ifdef _ALPHAREL
00088   #ifdef _DEBUG
00089     #define VERSION_STR   _VER_STR " alpha" _ALPHAREL " (DEBUG)"
00090   #else  //DEBUG
00091     #define VERSION_STR   _VER_STR " alpha" _ALPHAREL
00092   #endif //DEBUG
00093 #else
00094   #ifdef _BETA
00095     #ifdef _DEBUG
00096       #define VERSION_STR   _VER_STR " beta (DEBUG)"
00097     #else  //DEBUG
00098       #define VERSION_STR   _VER_STR " beta"
00099     #endif //DEBUG
00100   #else  //BETA
00101     #ifdef _DEBUG
00102       #define VERSION_STR   _VER_STR " (DEBUG)"
00103     #else  //DEBUG
00104       #define VERSION_STR   _VER_STR
00105     #endif //DEBUG
00106   #endif //BETA
00107 #endif
00108 
00109 #define COPYRIGHT  SDK_VENDOR" "SDK_NAME" Version "VERSION_STR"\nŠ Copyright 2005 NVIDIA Corporation\n";
00110 
00111 #endif  //  DOXYGEN_IGNORE

Generated on Tue Mar 1 13:19:18 2005 for NVSGSDK by NVIDIA