Skip to content

Commit

Permalink
Commited Version.H with default value
Browse files Browse the repository at this point in the history
  • Loading branch information
hernandp committed Jul 16, 2017
1 parent 2109146 commit ab83726
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
/** Version Data -- this file is processed by VerStamp.ps1 Pre-build step
on release configurations by stamping data on _REVPLACEHOLDER and
_BUILDPLACEHOLDER definitions. Do not mess this!
Initial value should be 9999,0.
The script should stamp "revision" field with year/month/day. Month
in hex (0-C), e.g: for 2017-11-30: 17B30.
Expand All @@ -35,14 +33,18 @@
**/

#define X_TO_STR(A) #A
#define TO_STR(A) X_TO_STR(A)

#define _REVPLACEHOLDER 196
#define _BUILDPLACEHOLDER 1230
#define _REVPLACEHOLDER 9999
#define _BUILDPLACEHOLDER 9999

// ---------------------------------------------------------------------------
#define CMANIA_VERSION_MAJOR 0
#define CMANIA_VERSION_MINOR 5
#define CMANIA_VERSION_REV _REVPLACEHOLDER
#define CMANIA_VERSION_BUILD _BUILDPLACEHOLDER

#define CMANIA_VERSION_STRING TO_STR(CMANIA_VERSION_MAJOR) L"." TO_STR(CMANIA_VERSION_MINOR) L"." TO_STR(CMANIA_VERSION_REV) L"." TO_STR(CMANIA_VERSION_BUILD)
// ---------------------------------------------------------------------------

0 comments on commit ab83726

Please sign in to comment.