Additional support for semver to query the version

This commit is contained in:
James P. Howard, II
2022-07-01 17:18:10 -04:00
parent cf35c348ca
commit cf0b75c5fb
2 changed files with 11 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ Changelog
========= =========
- :bug:`0` Numerous build process cleanups - :bug:`0` Numerous build process cleanups
- :feature:`0` Added support semver versioning via neargye-semv er - :feature:`0` Added support semver versioning via neargye-semver
- :bug:`0` Make library static by default - :bug:`0` Make library static by default
- :bug:`0` Corrected the badge link in the README file - :bug:`0` Corrected the badge link in the README file

View File

@@ -27,7 +27,17 @@
#ifndef KAMI_KAMI_H #ifndef KAMI_KAMI_H
#define KAMI_KAMI_H #define KAMI_KAMI_H
#include <semver.hpp>
#include <kami/KAMI_EXPORT.h> #include <kami/KAMI_EXPORT.h>
#include <kami/config.h> #include <kami/config.h>
namespace kami {
inline semver::version get_version() {
return version;
}
} // namespace kami
#endif // KAMI_KAMI_H #endif // KAMI_KAMI_H