aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-12 12:53:16 +0000
committersaturneric <[email protected]>2024-07-12 12:58:34 +0000
commit9f61a1f86ca85da52a13a57290db95655cd5740e (patch)
tree16a5408934cdfb2fa8d59e38c707f374becd31c7 /src/core
parentfeat: move modules' code out of repo (diff)
downloadGpgFrontend-9f61a1f86ca85da52a13a57290db95655cd5740e.tar.gz
GpgFrontend-9f61a1f86ca85da52a13a57290db95655cd5740e.zip
feat: improve the project structure
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt5
-rw-r--r--src/core/module/Event.h2
-rw-r--r--src/core/module/Module.cpp2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index cedbe69a..000081d8 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -123,6 +123,11 @@ target_precompile_headers(gpgfrontend_core
# using std c++ 17
target_compile_features(gpgfrontend_core PUBLIC cxx_std_17)
+# lib output path
+set_target_properties(gpgfrontend_core PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib
+ RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib)
+
# link for different platforms
if (MINGW)
message(STATUS "Link GPG Static Library For MINGW")
diff --git a/src/core/module/Event.h b/src/core/module/Event.h
index b629caae..cb41c125 100644
--- a/src/core/module/Event.h
+++ b/src/core/module/Event.h
@@ -34,7 +34,7 @@
#include "core/GpgFrontendCore.h"
#include "core/model/DataObject.h"
-#include "module/sdk/GFSDKModule.h"
+#include "sdk/GFSDKModule.h"
namespace GpgFrontend::Module {
diff --git a/src/core/module/Module.cpp b/src/core/module/Module.cpp
index 9c875fce..202f9d81 100644
--- a/src/core/module/Module.cpp
+++ b/src/core/module/Module.cpp
@@ -31,7 +31,7 @@
#include "core/module/GlobalModuleContext.h"
#include "core/utils/CommonUtils.h"
#include "core/utils/IOUtils.h"
-#include "module/sdk/GFSDKModule.h"
+#include "sdk/GFSDKModule.h"
#include "utils/BuildInfoUtils.h"
namespace GpgFrontend::Module {