00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #pragma once
00013
00015 #if !defined( DOXYGEN_IGNORE ) // no need to document the version header
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
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
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
00043 #endif
00044
00045 #ifdef BETA
00046 #define _BETA " 1.9"
00047 #endif
00048
00049
00050 #define MKSTR(s) MKSTR_i(s)
00051 #define MKSTR_i(s) MKSTR_ii(s)
00052 #define MKSTR_ii(s) #s
00053
00054
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
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
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