openMSX
Version.cc
Go to the documentation of this file.
1#include "Version.hh"
2#include "strCat.hh"
3
4namespace openmsx {
5
6#include "Version.ii"
7
8std::string Version::full()
9{
10 std::string result = strCat("openMSX ", VERSION);
11 if constexpr (!RELEASE) strAppend(result, '-', REVISION);
12 return result;
13}
14
15} // namespace openmsx
static std::string full()
Definition Version.cc:8
static const char *const VERSION
Definition Version.hh:13
static const bool RELEASE
Definition Version.hh:12
static const char *const REVISION
Definition Version.hh:14
This file implemented 3 utility functions:
Definition Autofire.cc:11
std::string strCat()
Definition strCat.hh:703
void strAppend(std::string &result, Ts &&...ts)
Definition strCat.hh:752