From 3e5ef9e181084cc88ef59811e6eba1d7d82ba4cf Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sun, 22 Oct 2017 09:02:41 +0200 Subject: Use hand-inserted version. Remove one Git pass. Full version name should consist of official version and Git one Git describe should never fail with --always switch Add more build specific information Save compilation definitions and flags Move getting information to the end of CMakeLists.txt Use configuration over definitions Proper implementation in C API for getting version Test case for getting version. Working configure file Signed-off-by: Szczepan Zalega --- version.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 version.h (limited to 'version.h') diff --git a/version.h b/version.h new file mode 100644 index 0000000..011d7ac --- /dev/null +++ b/version.h @@ -0,0 +1,12 @@ +#ifndef NITROKEYAPP_VERSION_H +#define NITROKEYAPP_VERSION_H + +#include + +namespace Version { + extern const std::string version; + extern const std::string version_more; +}; + + +#endif //NITROKEYAPP_VERSION_H -- cgit v1.2.3