aboutsummaryrefslogtreecommitdiff
path: root/src/win/graph/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-06-27 00:18:48 +0800
committercrupest <crupest@outlook.com>2019-06-27 00:18:48 +0800
commitbaa7cf141b8121473edceae16c1a20a6d47bd202 (patch)
tree9349633a9d0bc286fe29f480bd70e4c2ad1f3075 /src/win/graph/CMakeLists.txt
parentf404a3b2eb7bb9865d0c6f938538899996a53d8c (diff)
downloadcru-baa7cf141b8121473edceae16c1a20a6d47bd202.tar.gz
cru-baa7cf141b8121473edceae16c1a20a6d47bd202.tar.bz2
cru-baa7cf141b8121473edceae16c1a20a6d47bd202.zip
......
Diffstat (limited to 'src/win/graph/CMakeLists.txt')
-rw-r--r--src/win/graph/CMakeLists.txt21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/win/graph/CMakeLists.txt b/src/win/graph/CMakeLists.txt
index 03cd4566..c90537ac 100644
--- a/src/win/graph/CMakeLists.txt
+++ b/src/win/graph/CMakeLists.txt
@@ -1,20 +1 @@
-set(CRU_WIN_GRAPH_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/win/graph)
-
-add_library(cru_win_graph STATIC
- win_brush.cpp
- win_font.cpp
- win_geometry.cpp
- win_graph_factory.cpp
- win_painter.cpp
- win_text_layout.cpp
-)
-target_sources(cru_win_graph PUBLIC
- ${CRU_WIN_GRAPH_INCLUDE_DIR}/win_brush.hpp
- ${CRU_WIN_GRAPH_INCLUDE_DIR}/win_font.hpp
- ${CRU_WIN_GRAPH_INCLUDE_DIR}/win_geometry.hpp
- ${CRU_WIN_GRAPH_INCLUDE_DIR}/win_graph_factory.hpp
- ${CRU_WIN_GRAPH_INCLUDE_DIR}/win_native_factory.hpp
- ${CRU_WIN_GRAPH_INCLUDE_DIR}/win_painter.hpp
- ${CRU_WIN_GRAPH_INCLUDE_DIR}/win_text_layout.hpp
-)
-target_link_libraries(cru_win_graph PUBLIC D3D11 D2d1 DWrite cru_win_base)
+add_subdirectory(direct)