Only display commit hash text overlay if there is information available

Add version and commit information into a global property
This commit is contained in:
Alexander Bock
2017-08-31 11:37:22 -04:00
parent 0ceab49df7
commit c3825cc81e
4 changed files with 47 additions and 11 deletions
+1
View File
@@ -41,6 +41,7 @@ constexpr const char* OPENSPACE_VERSION_STRING_FULL = "@OPENSPACE_VERSION_MAJOR@
constexpr const char* OPENSPACE_GIT_BRANCH = "@OPENSPACE_GIT_BRANCH@";
constexpr const char* OPENSPACE_GIT_COMMIT = "@OPENSPACE_GIT_COMMIT@";
constexpr const char* OPENSPACE_GIT_FULL = "@OPENSPACE_GIT_BRANCH@@@OPENSPACE_GIT_COMMIT@";
} // namespace openspace