-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically determine current version from git tags
- Loading branch information
1 parent
260062e
commit c6cbaa6
Showing
8 changed files
with
44 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
*.stash | ||
*.user | ||
bin | ||
src/version.h | ||
src/tmp | ||
src/*.autosave | ||
src/ui | ||
|
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#ifndef MAIN_H_ | ||
#define MAIN_H_ | ||
|
||
#define MAJOR_VERSION 0x0001 | ||
#define MINOR_VERSION 0x0009 | ||
#define PATCH_VERSION 0x0000 | ||
|
||
#define WIP_TEXT "" //" *work in progress* -> Please do not distribute." | ||
//#define WIP_VERSION | ||
//#define RC_VERSION | ||
|
||
// Stringifiers needed to parse the VERSION preprocessor define as string | ||
#define xstr(a) astr(a) | ||
#define astr(a) #a | ||
|
||
#endif /*MAIN_H_*/ |