-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from JockeJarre/master
Add build number and SHA7 to the file properties
- Loading branch information
Showing
13 changed files
with
96 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef _GIT_VERSION_H_ | ||
#define _GIT_VERSION_H_ | ||
|
||
#define GIT_REVISION 0 | ||
#define GIT_SHA "unknown" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#pragma once | ||
|
||
#include "git_version.h" | ||
|
||
#define PM_VERSION_MAJOR 3 // X Digits | ||
#define PM_VERSION_MINOR 6 // Max 2 Digits | ||
#define PM_VERSION_REV 0 // Max 1 Digit | ||
|
||
#define _STR(x) #x | ||
#define STR(x) _STR(x) | ||
|
||
#define PM_VERSION_DIGITS PM_VERSION_MAJOR,PM_VERSION_MINOR,PM_VERSION_REV,GIT_REVISION | ||
#define PM_VERSION_STRING_DIGITS STR(PM_VERSION_MAJOR) STR(PM_VERSION_MINOR) STR(PM_VERSION_REV) STR(GIT_REVISION) | ||
#define PM_VERSION_STRING_POINTS STR(PM_VERSION_MAJOR) "." STR(PM_VERSION_MINOR) "." STR(PM_VERSION_REV) "." STR(GIT_REVISION) | ||
#define PM_VERSION_STRING_COMMAS STR(PM_VERSION_MAJOR) ", " STR(PM_VERSION_MINOR) ", " STR(PM_VERSION_REV) ", " STR(GIT_REVISION) | ||
#define PM_VERSION_STRING_POINTS_FULL STR(PM_VERSION_MAJOR) "." STR(PM_VERSION_MINOR) "." STR(PM_VERSION_REV) "." STR(GIT_REVISION) "." GIT_SHA | ||
|
||
// Complete version string for log, crash handler,... | ||
#define PM_VERSION_STRING_FULL_LITERAL "v" STR(PM_VERSION_MAJOR) "." STR(PM_VERSION_MINOR) "." STR(PM_VERSION_REV) \ | ||
" Beta (Rev. " STR(GIT_REVISION) " (" GIT_SHA "), " GET_PLATFORM_OS " DirectX " GET_PLATFORM_BITS "bits)" | ||
|
||
#define PASTE2(a,b) a##b | ||
#define PASTE(a,b) PASTE2(a,b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.