Add build time and git head strings to CBuildConfig

refs #902
This commit is contained in:
Roland Winklmeier
2017-03-10 22:16:42 +01:00
committed by Mathew Sutcliffe
parent eea6c31e7b
commit 15b50791ef
4 changed files with 28 additions and 0 deletions

View File

@@ -367,6 +367,12 @@ namespace BlackConfig
}
}
const QString &BlackConfig::CBuildConfig::buildDateAndTime()
{
static const QString buildDateAndTime( __DATE__ " " __TIME__ );
return buildDateAndTime;
}
bool CVersion::isNewerVersion(const QString &versionString)
{
if (versionString.isEmpty()) { return false; }