diff options
author | crupest <crupest@outlook.com> | 2021-08-20 22:10:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-08-20 22:10:45 +0800 |
commit | e2e8ba559b0e7a797c083684b382ac4cbb2fdd5f (patch) | |
tree | 9b9e61142c490c53a5d7b3bba2c62ee6281a87db /src/osx/graphics/quartz | |
parent | bcb879240f96764b8f17da2878fc0784c51b6054 (diff) | |
download | cru-e2e8ba559b0e7a797c083684b382ac4cbb2fdd5f.tar.gz cru-e2e8ba559b0e7a797c083684b382ac4cbb2fdd5f.tar.bz2 cru-e2e8ba559b0e7a797c083684b382ac4cbb2fdd5f.zip |
...
Diffstat (limited to 'src/osx/graphics/quartz')
-rw-r--r-- | src/osx/graphics/quartz/CMakeLists.txt | 15 | ||||
-rw-r--r-- | src/osx/graphics/quartz/Factory.cpp | 1 | ||||
-rw-r--r-- | src/osx/graphics/quartz/Painter.cpp | 1 | ||||
-rw-r--r-- | src/osx/graphics/quartz/Resource.cpp | 0 |
4 files changed, 17 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) + diff --git a/src/osx/graphics/quartz/Factory.cpp b/src/osx/graphics/quartz/Factory.cpp new file mode 100644 index 00000000..f9b792f2 --- /dev/null +++ b/src/osx/graphics/quartz/Factory.cpp @@ -0,0 +1 @@ +#include "cru/osx/graphics/quartz/Factory.hpp" diff --git a/src/osx/graphics/quartz/Painter.cpp b/src/osx/graphics/quartz/Painter.cpp new file mode 100644 index 00000000..b3006a97 --- /dev/null +++ b/src/osx/graphics/quartz/Painter.cpp @@ -0,0 +1 @@ +#include "cru/osx/graphics/quartz/Painter.hpp" diff --git a/src/osx/graphics/quartz/Resource.cpp b/src/osx/graphics/quartz/Resource.cpp new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/src/osx/graphics/quartz/Resource.cpp |