aboutsummaryrefslogtreecommitdiff
path: root/src/osx/graphics/quartz/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/graphics/quartz/CMakeLists.txt')
-rw-r--r--src/osx/graphics/quartz/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/osx/graphics/quartz/CMakeLists.txt b/src/osx/graphics/quartz/CMakeLists.txt
new file mode 100644
index 00000000..41577ad7
--- /dev/null
+++ b/src/osx/graphics/quartz/CMakeLists.txt
@@ -0,0 +1,15 @@
+set(CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/osx/graphics/quartz)
+
+add_library(cru_osx_graphics_quartz SHARED
+ Factory.cpp
+ Painter.cpp
+ Resource.cpp
+)
+target_sources(cru_osx_graphics_quartz PUBLIC
+ ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Factory.hpp
+ ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Painter.hpp
+ ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Resource.hpp
+)
+target_link_libraries(cru_osx_graphics_quartz PUBLIC cocoa)
+target_link_libraries(cru_osx_graphics_quartz PUBLIC cru_osx_base cru_platform_graphics)
+