Add GIT commit hash output in log

This commit is contained in:
Alexander Bock
2018-01-01 12:11:38 -05:00
parent da41ca0582
commit 6f351c0951

View File

@@ -371,12 +371,8 @@ void OpenSpaceEngine::create(int argc, char** argv,
// Initialize the requested logs from the configuration file
_engine->configureLogging(consoleLog);
LINFOC("OpenSpace Version",
OPENSPACE_VERSION_MAJOR << "." <<
OPENSPACE_VERSION_MINOR << "." <<
OPENSPACE_VERSION_PATCH <<
" (" << OPENSPACE_VERSION_STRING << ")"
);
LINFOC("OpenSpace Version", std::string(OPENSPACE_VERSION_STRING_FULL));
LINFOC("Commit", std::string(OPENSPACE_GIT_FULL));
ghoul::Dictionary moduleConfigurations;
if (_engine->configurationManager().hasKeyAndValue<ghoul::Dictionary>(