diff options
Diffstat (limited to '')
-rw-r--r-- | src/module/sdk/GFSDKBuildInfo.h (renamed from src/module/sdk/Basic.h) | 10 | ||||
-rw-r--r-- | src/module/sdk/GFSDKBuildInfo.h.in (renamed from src/module/GpgFrontendModule.h) | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/module/sdk/Basic.h b/src/module/sdk/GFSDKBuildInfo.h index 62a547b3..a64d95c5 100644 --- a/src/module/sdk/Basic.h +++ b/src/module/sdk/GFSDKBuildInfo.h @@ -28,9 +28,9 @@ #pragma once -namespace GpgFrontend::Module::SDK { +#define GF_SDK_VERSION_MAJOR "2" +#define GF_SDK_VERSION_MINOR "1" +#define GF_SDK_VERSION_PATCH "3" - - - -}
\ No newline at end of file +#define GF_SDK_VERSION_STR \ + GF_SDK_VERSION_MAJOR "." GF_SDK_VERSION_MINOR "." GF_SDK_VERSION_PATCH diff --git a/src/module/GpgFrontendModule.h b/src/module/sdk/GFSDKBuildInfo.h.in index cf7d8557..508c35d4 100644 --- a/src/module/GpgFrontendModule.h +++ b/src/module/sdk/GFSDKBuildInfo.h.in @@ -28,9 +28,9 @@ #pragma once -/** - * Project internal dependencies - */ -#include "GpgFrontend.h" -#include "GpgFrontendModuleExport.h" -#include "core/GpgFrontendCore.h" +#define GF_SDK_VERSION_MAJOR "@CMAKE_PROJECT_VERSION_MAJOR@" +#define GF_SDK_VERSION_MINOR "@CMAKE_PROJECT_VERSION_MINOR@" +#define GF_SDK_VERSION_PATCH "@CMAKE_PROJECT_VERSION_PATCH@" + +#define GF_SDK_VERSION_STR \ + GF_SDK_VERSION_MAJOR "." GF_SDK_VERSION_MINOR "." GF_SDK_VERSION_PATCH
\ No newline at end of file |