From 81f7d5faaaf79149070a901a4f299aee70c46379 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 17 Jan 2022 22:18:01 +0800 Subject: ... --- src/osx/CMakeLists.txt | 8 -------- src/osx/graphics/quartz/CMakeLists.txt | 12 ------------ src/osx/gui/CMakeLists.txt | 17 ----------------- 3 files changed, 37 deletions(-) (limited to 'src/osx') diff --git a/src/osx/CMakeLists.txt b/src/osx/CMakeLists.txt index 9be5ccf5..7f6a7538 100644 --- a/src/osx/CMakeLists.txt +++ b/src/osx/CMakeLists.txt @@ -1,17 +1,9 @@ -set(CRU_OSX_BASE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/osx) - add_library(cru_osx_base SHARED Convert.cpp Exception.cpp Resource.cpp ) -target_sources(cru_osx_base PUBLIC - ${CRU_OSX_BASE_INCLUDE_DIR}/Convert.hpp - ${CRU_OSX_BASE_INCLUDE_DIR}/Exception.hpp - ${CRU_OSX_BASE_INCLUDE_DIR}/Resource.hpp -) - find_library(FOUNDATION Foundation REQUIRED) find_library(CORE_FOUNDATION CoreFoundation REQUIRED) diff --git a/src/osx/graphics/quartz/CMakeLists.txt b/src/osx/graphics/quartz/CMakeLists.txt index bd75f30b..f5aae675 100644 --- a/src/osx/graphics/quartz/CMakeLists.txt +++ b/src/osx/graphics/quartz/CMakeLists.txt @@ -1,5 +1,3 @@ -set(CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/osx/graphics/quartz) - add_library(cru_osx_graphics_quartz SHARED Brush.cpp Convert.cpp @@ -10,16 +8,6 @@ add_library(cru_osx_graphics_quartz SHARED Resource.cpp TextLayout.cpp ) -target_sources(cru_osx_graphics_quartz PUBLIC - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Brush.hpp - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Convert.hpp - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Factory.hpp - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Font.hpp - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Geometry.hpp - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Painter.hpp - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Resource.hpp - ${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/TextLayout.hpp -) find_library(CORE_GRAPHICS CoreGraphics REQUIRED) find_library(CORE_TEXT CoreText REQUIRED) diff --git a/src/osx/gui/CMakeLists.txt b/src/osx/gui/CMakeLists.txt index f9bfd9c7..27efbe0e 100644 --- a/src/osx/gui/CMakeLists.txt +++ b/src/osx/gui/CMakeLists.txt @@ -1,5 +1,3 @@ -set(CRU_OSX_GUI_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/osx/gui) - add_library(cru_osx_gui SHARED Clipboard.mm Cursor.mm @@ -8,21 +6,6 @@ add_library(cru_osx_gui SHARED Resource.cpp UiApplication.mm Window.mm - - ClipboardPrivate.h - InputMethodPrivate.h - CursorPrivate.h - WindowPrivate.h -) - -target_sources(cru_osx_gui PUBLIC - ${CRU_OSX_GUI_INCLUDE_DIR}/Clipboard.hpp - ${CRU_OSX_GUI_INCLUDE_DIR}/Cursor.hpp - ${CRU_OSX_GUI_INCLUDE_DIR}/InputMethod.hpp - ${CRU_OSX_GUI_INCLUDE_DIR}/Keyboard.hpp - ${CRU_OSX_GUI_INCLUDE_DIR}/Resource.hpp - ${CRU_OSX_GUI_INCLUDE_DIR}/UiApplication.hpp - ${CRU_OSX_GUI_INCLUDE_DIR}/Window.hpp ) find_library(APPKIT AppKit REQUIRED) -- cgit v1.2.3