maxversion.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "buildnumber.h" // defines VERSION_INT
00004 
00005 // VERSION_INT is defined in buildnumber.h and is written to by the builder, inserting the current build number.
00006 // VERSION_INT is used for the fourth least siginifact version component eg. 4.1.1.[36]
00007 
00008 // The product and file version could be different.
00009 // For example, VIZ 4.0 works with max files version 4.2
00010 
00011 // MAX File version:
00012 #ifndef MAX_VERSION_MAJOR
00013 #define MAX_VERSION_MAJOR 14
00014 #endif
00015 
00016 #ifndef MAX_VERSION_MINOR
00017 #define MAX_VERSION_MINOR 0
00018 #endif
00019 
00020 #ifndef MAX_VERSION_POINT
00021 #define MAX_VERSION_POINT 0
00022 #endif
00023 
00024 // MAX Product version
00025 #ifndef MAX_PRODUCT_VERSION_MAJOR
00026 #define MAX_PRODUCT_VERSION_MAJOR 14
00027 #endif
00028 
00029 #ifndef MAX_PRODUCT_VERSION_MINOR
00030 #define MAX_PRODUCT_VERSION_MINOR 0
00031 #endif
00032 
00033 #ifndef MAX_PRODUCT_VERSION_POINT
00034 #define MAX_PRODUCT_VERSION_POINT 0
00035 #endif
00036 
00037 #ifndef MAX_PRODUCT_YEAR_NUMBER
00038 #define MAX_PRODUCT_YEAR_NUMBER 2012
00039 #endif
00040 
00041 // MAX_RELEASE_EXTERNAL is an alternative for MAX_RELEASE (plugapi.h)
00042 // Define it when you want the "branded" (UI) version number to be different 
00043 // from the internal one.
00044 //#define MAX_RELEASE_EXTERNAL  10900
00045 
00046 // This should be blank for a non-service-pack release
00047 #ifndef MAX_PRODUCT_VERSION_SP
00048 #define MAX_PRODUCT_VERSION_SP "\0"
00049 #endif
00050 
00051 
00052 #define _MAX_VERSION(a, b, c,d) a##b##c##d
00053 #define MAX_VERSION _MAX_VERSION(MAX_VERSION_MAJOR, MAX_VERSION_MINOR, MAX_VERSION_POINT,VERSION_INT)
00054 
00055