-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VersionCopy.h for release version checking
- Loading branch information
1 parent
11197e0
commit ad63428
Showing
1 changed file
with
11 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#pragma once | ||
|
||
// const float in a header file can lead to duplication of the storage | ||
// but I don't really care in this case. Just don't do it with a header | ||
// that is included hundreds of times. | ||
const float kCurrentVersion = 1.52f; | ||
|
||
// Put a "#define VERSION_SUFFIX 'b'" line here to add a minor version | ||
// increment that won't trigger the new-version checks, handy for minor | ||
// releases that I don't want to bother users about. | ||
//#define VERSION_SUFFIX 'b' |