Generate resources/version.hpp with the project version

This commit is contained in:
Duncan Ogilvie
2021-12-23 03:53:07 +01:00
parent 4d14395994
commit 04bf40a5a6
5 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
#include "help.hpp"
#include <resources/version.hpp>
namespace cmkr {
namespace help {
const char *version() noexcept { return "cmkr version 0.1.3"; }
const char *version() noexcept { return "cmkr version " CMKR_VERSION; }
const char *message() noexcept {
return R"lit(