You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
479 B
20 lines
479 B
#ifndef VERSION_H_IN |
|
#define VERSION_H_IN |
|
|
|
#include <string> |
|
|
|
namespace nxl |
|
{ |
|
static constexpr int VERSION_MAJOR = 0; |
|
static constexpr int VERSION_MINOR = 1; |
|
static constexpr int VERSION_PATCH = 0; |
|
static constexpr char VERSION_SUFFIX[] = ""; |
|
|
|
inline std::string getVersionString() |
|
{ |
|
return std::to_string(VERSION_MAJOR) + "." + std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH) + VERSION_SUFFIX; |
|
} |
|
|
|
} // namespace nxl |
|
|
|
#endif // VERSION_H_IN
|
|
|