aboutsummaryrefslogtreecommitdiff
path: root/src/osx/gui/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-09-18 16:13:40 +0800
committercrupest <crupest@outlook.com>2021-09-18 16:13:40 +0800
commit9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee (patch)
treeb063fadfa6197947b975195f967898ee9b926f2d /src/osx/gui/CMakeLists.txt
parente5b3502b03bdbdbecbd2e8b328e0f874499b452b (diff)
downloadcru-9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee.tar.gz
cru-9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee.tar.bz2
cru-9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee.zip
...
Diffstat (limited to 'src/osx/gui/CMakeLists.txt')
-rw-r--r--src/osx/gui/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/osx/gui/CMakeLists.txt b/src/osx/gui/CMakeLists.txt
new file mode 100644
index 00000000..26191655
--- /dev/null
+++ b/src/osx/gui/CMakeLists.txt
@@ -0,0 +1,15 @@
+set(CRU_OSX_GUI_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/osx/gui)
+
+add_library(cru_osx_gui SHARED
+ Resource.cpp
+ UiApplication.cpp
+ Window.cpp
+)
+
+target_sources(cru_osx_gui PUBLIC
+ ${CRU_OSX_GUI_INCLUDE_DIR}/Resource.hpp
+ ${CRU_OSX_GUI_INCLUDE_DIR}/UiApplication.hpp
+ ${CRU_OSX_GUI_INCLUDE_DIR}/Window.hpp
+)
+
+target_link_libraries(cru_osx_gui PUBLIC cru_platform_gui cru_osx_graphics_quartz)