-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move version definition to version.h
- Loading branch information
1 parent
75826a4
commit 45a4238
Showing
3 changed files
with
28 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef _VERSION_H | ||
#define _VERSION_H | ||
|
||
#define APP_VERSION_MAJOR 0 | ||
#define APP_VERSION_MINOR 22 | ||
#define APP_VERSION_REVISION 0 | ||
|
||
#ifndef XSTR | ||
#define XSTR(s) STR(s) | ||
#define STR(s) #s | ||
#endif | ||
|
||
#define APP_VERSION_STRING XSTR(APP_VERSION_MAJOR.APP_VERSION_MINOR.APP_VERSION_REVISION) | ||
#define APP_VERSION_TUPLE APP_VERSION_MAJOR,APP_VERSION_MINOR,APP_VERSION_REVISION,0 | ||
|
||
#endif // _VERSION_H |