diff options
Diffstat (limited to 'cmake/fud_version.hpp.in')
-rw-r--r-- | cmake/fud_version.hpp.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cmake/fud_version.hpp.in b/cmake/fud_version.hpp.in new file mode 100644 index 0000000..5cce0e4 --- /dev/null +++ b/cmake/fud_version.hpp.in @@ -0,0 +1,15 @@ +#ifndef FUD_VERSION_HPP +#define FUD_VERSION_HPP + +#include <cstdint> + +namespace fud { + +constexpr uint8_t FudVersionMajor = @PROJECT_VERSION_MAJOR@; +constexpr uint8_t FudVersionMinor = @PROJECT_VERSION_MINOR@; +constexpr uint8_t FudVersionPatch = @PROJECT_VERSION_PATCH@; +constexpr const char GitHash[] = "@GIT_HASH@"; + +} // namespace fud + +#endif |