diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-01 11:42:04 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-01 11:57:28 -0800 |
commit | b5b26dc7560ae02d9161c3ee71119838fc8cf7e6 (patch) | |
tree | f0626dcbf4803bc7b08b44f36e01bc00941f1407 /qt-ui/about.cpp | |
parent | e5c3799270fcc9c6726ce743f7662f5f42698f09 (diff) | |
download | subsurface-b5b26dc7560ae02d9161c3ee71119838fc8cf7e6.tar.gz |
Try to bring some sanity into our version strings
VERSION_STRING is the one most appropriate for the target OS
GIT_VERSION_STRING is the full version string with the git hash
CANONICAL_VERSION_STRING is major.minor.submior.number_of_commits
Mac allows only three components to the version
Windows allows four
Linux doesn't care
This way we always know the full git hash (unless tagged or from tar)
AND we can always have a version that can be easily compared / sorted.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/about.cpp')
0 files changed, 0 insertions, 0 deletions