Add build time to flow startup banner

This commit is contained in:
Joakim Hove
2020-03-31 08:42:24 +02:00
parent 4a6814d6bc
commit c8524a139e
3 changed files with 12 additions and 0 deletions

View File

@@ -46,4 +46,11 @@ namespace Opm
return PROJECT_VERSION;
}
/// Return a string "dd-mm-yyyy at HH::MM::SS hrs" which is the time
/// the binary was compiled.
std::string compileTimestamp()
{
return BUILD_TIMESTAMP;
}
} // namespace Opm