aboutsummaryrefslogtreecommitdiffstats
path: root/src/module/sdk/GFSDKBuildInfo.h
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2024-05-11 17:18:36 +0000
committerGitHub <[email protected]>2024-05-11 17:18:36 +0000
commitf909f2c4c35b187eb165ec5545e35d54c6d92bf3 (patch)
tree428fe9e63ecae6bb93be6f20cd2b1ee9b29ffd8d /src/module/sdk/GFSDKBuildInfo.h
parentMerge pull request #145 from jermanuts/jermanuts-wizard-links-update (diff)
parentfix: remove qt5compat and redirect dll output path of modules (diff)
downloadGpgFrontend-f909f2c4c35b187eb165ec5545e35d54c6d92bf3.tar.gz
GpgFrontend-f909f2c4c35b187eb165ec5545e35d54c6d92bf3.zip
Merge pull request #148 from saturneric/develop
Develop 2.1.3.1
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