diff options
author | 杨宇千 <crupest@outlook.com> | 2019-09-15 00:03:11 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-09-15 00:03:11 +0800 |
commit | 73f13dd60f51ff05e31a64fba89fe31ab3ab185d (patch) | |
tree | d674041629f328c2357ed85e3e564dec06757f3a /src/CMakeLists.txt | |
parent | 401ca68f7d9d62d195c558edfeda4ece985805e1 (diff) | |
download | cru-73f13dd60f51ff05e31a64fba89fe31ab3ab185d.tar.gz cru-73f13dd60f51ff05e31a64fba89fe31ab3ab185d.tar.bz2 cru-73f13dd60f51ff05e31a64fba89fe31ab3ab185d.zip |
...
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3cff8a24..59ca69d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,40 +1,6 @@ add_subdirectory(common) -set(CRU_PLATFORM_BASE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform) -add_library(cru_platform_base INTERFACE) -target_sources(cru_platform_base INTERFACE - ${CRU_PLATFORM_BASE_INCLUDE_DIR}/exception.hpp - ${CRU_PLATFORM_BASE_INCLUDE_DIR}/graphic_base.hpp - ${CRU_PLATFORM_BASE_INCLUDE_DIR}/heap_debug.hpp - ${CRU_PLATFORM_BASE_INCLUDE_DIR}/matrix.hpp - ${CRU_PLATFORM_BASE_INCLUDE_DIR}/native_resource.hpp - ${CRU_PLATFORM_BASE_INCLUDE_DIR}/string_util.hpp -) -target_link_libraries(cru_platform_base INTERFACE cru_base) - -set(CRU_PLATFORM_GRAPH_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/graph) -add_library(cru_platform_graph INTERFACE) -target_sources(cru_platform_graph INTERFACE - ${CRU_PLATFORM_GRAPH_INCLUDE_DIR}/brush.hpp - ${CRU_PLATFORM_GRAPH_INCLUDE_DIR}/font.hpp - ${CRU_PLATFORM_GRAPH_INCLUDE_DIR}/geometry.hpp - ${CRU_PLATFORM_GRAPH_INCLUDE_DIR}/graph_factory.hpp - ${CRU_PLATFORM_GRAPH_INCLUDE_DIR}/painter.hpp - ${CRU_PLATFORM_GRAPH_INCLUDE_DIR}/text_layout.hpp - ${CRU_PLATFORM_GRAPH_INCLUDE_DIR}/util/painter_util.hpp -) -target_link_libraries(cru_platform_graph INTERFACE cru_platform_base) - -set(CRU_PLATFORM_NATIVE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/native) -add_library(cru_platform_native INTERFACE) -target_sources(cru_platform_native INTERFACE - ${CRU_PLATFORM_NATIVE_INCLUDE_DIR}/basic_types.hpp - ${CRU_PLATFORM_NATIVE_INCLUDE_DIR}/cursor.hpp - ${CRU_PLATFORM_NATIVE_INCLUDE_DIR}/native_event.hpp - ${CRU_PLATFORM_NATIVE_INCLUDE_DIR}/native_window.hpp - ${CRU_PLATFORM_NATIVE_INCLUDE_DIR}/ui_application.hpp -) -target_link_libraries(cru_platform_native INTERFACE cru_platform_graph) +add_subdirectory(platform) if(WIN32) add_subdirectory(win) |