Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified to generate a unique version release string
cmake now uses git to generate a unique version release string, which will consist of the latest tag, and if beyond this tag, will also contain the number of commits beyond that tag plus the SHA1 commit id; if git is not available (building from a .zip of .tar.gz download), then it will use the major, minor and patch numbers set in CMakeLists.txt; the version numbering also allows for negative patch numbers, which represents what was prevsiously called preliminary or developmental releases modified the program to print this release string instead of the major, minor and patch numbers directly; and will not output the GPL header when outputting the version number to be consistent with other programs
- Loading branch information
1 parent
ffc74a8
commit 1bba2c3
Showing
3 changed files
with
55 additions
and
15 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