2020-01-18 08:50:24 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
@VERSION_EDIT_WARNING@
|
|
|
|
|
|
|
|
namespace Pinetime {
|
|
|
|
class Version {
|
|
|
|
public:
|
2020-09-02 15:31:31 -04:00
|
|
|
static constexpr uint32_t Major() {return major;}
|
|
|
|
static constexpr uint32_t Minor() {return minor;}
|
|
|
|
static constexpr uint32_t Patch() {return patch;}
|
|
|
|
static constexpr char* VersionString() {return versionString;}
|
2020-01-18 08:50:24 -05:00
|
|
|
private:
|
|
|
|
static constexpr uint32_t major = @PROJECT_VERSION_MAJOR@;
|
|
|
|
static constexpr uint32_t minor = @PROJECT_VERSION_MINOR@;
|
|
|
|
static constexpr uint32_t patch = @PROJECT_VERSION_PATCH@;
|
2020-09-02 15:31:31 -04:00
|
|
|
static constexpr char* versionString = "@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@";
|
2020-01-18 08:50:24 -05:00
|
|
|
};
|
|
|
|
}
|