Changeset 45 in tspsg-svn for trunk/src/version.h
- Timestamp:
- Aug 2, 2009, 1:50:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/version.h
-
Property
svn:keywords
set to
Id URL
r42 r45 27 27 #define BUILD_VERSION_MAJOR 0 28 28 #define BUILD_VERSION_MINOR 1 29 #define BUILD_RELEASE 1 30 // Will stick this to revision 31 #define BUILD_NUMBER 42 32 #define BUILD_STATUS "alpha 1" 29 #define BUILD_RELEASE 2 30 // This will only change on releases and will be the same as revision number 31 #define BUILD_NUMBER 65535 32 // Release number meanings: 33 // 1 -- 3: alpha 1 to 3 34 // 4 -- 7: beta 1 to 4 35 // 8 -- 10: rc 1 to 3 36 // 11 --...: release 1 to ... 37 #if BUILD_NUMBER == 65535 38 #define BUILD_STATUS (dev build) 39 #elif BUILD_RELEASE < 4 40 #define BUILD_STATUS (alpha) 41 #elif BUILD_RELEASE < 8 42 #define BUILD_STATUS (beta) 43 #elif BUILD_RELEASE < 11 44 #define BUILD_STATUS (rc) 45 #endif // BUILD_NUMBER == 65535 33 46 34 47 // "Converting" number to string … … 36 49 #define QUOTE(x) QUOTE_X(x) 37 50 38 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE) 51 #ifndef BUILD_STATUS 52 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE) 53 #else 54 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS) 55 #endif 39 56 40 57 #endif // VERSION_H -
Property
svn:keywords
set to
Note: See TracChangeset
for help on using the changeset viewer.