diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-21 12:49:43 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-21 12:49:43 -0500 |
commit | b2dbcb55e2832c373fecb4033a3ed77e5dbc77aa (patch) | |
tree | 1f294fcf1d85a02db86de3eea2b03393fd89ca5a /cmake/fud_config.hpp.in | |
parent | 6a27a2a4032e88fa9154ef0f0741edc584f7a701 (diff) |
Add vector and option.
Diffstat (limited to 'cmake/fud_config.hpp.in')
-rw-r--r-- | cmake/fud_config.hpp.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cmake/fud_config.hpp.in b/cmake/fud_config.hpp.in new file mode 100644 index 0000000..e83e9c3 --- /dev/null +++ b/cmake/fud_config.hpp.in @@ -0,0 +1,16 @@ +#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 FudGitHash[] = "@GIT_HASH@"; +static constexpr bool fudBoundsChecking = @FUD_BOUNDS_CHECKING@; + +} // namespace fud + +#endif |