From 3cfe15a9c3db0993d8b8fef5d148625840e5a75c Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 05 12月 2023 15:43:39 +0800
Subject: [PATCH] Add host interface

---
 src/core/CMakeLists.txt |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 7b3d4a4..654a259 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -5,10 +5,13 @@
 
 set(_src
     qwkcoreglobal.h
+    qwkcoreglobal_p.h
+    qwkcoreglobal.cpp
     corewindowagent.h
     corewindowagent_p.h
     corewindowagent.cpp
     windowitemdelegate.h
+    windowitemdelegate.cpp
     contexts/abstractwindowcontext_p.h
     contexts/abstractwindowcontext.cpp
 )
@@ -25,8 +28,9 @@
         contexts/qtwindowcontext_p.h
         contexts/qtwindowcontext.cpp
     )
+
     if(APPLE)
-        # add files
+    # add files
     else()
         list(APPEND _src
             qwindowkit_linux.h
@@ -46,4 +50,7 @@
 set_target_properties(${PROJECT_NAME} PROPERTIES
     CXX_STANDARD 17
     CXX_STANDARD_REQUIRED TRUE
-)
\ No newline at end of file
+)
+
+set(QWINDOWKIT_ENABLED_TARGETS ${QWINDOWKIT_ENABLED_TARGETS} ${PROJECT_NAME} PARENT_SCOPE)
+set(QWINDOWKIT_ENABLED_SUBDIRECTORIES ${QWINDOWKIT_ENABLED_SUBDIRECTORIES} core PARENT_SCOPE)
\ No newline at end of file

--
Gitblit v1.9.1