aboutsummaryrefslogtreecommitdiff
path: root/src/win/graph
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-05-27 00:54:58 +0800
committercrupest <crupest@outlook.com>2019-05-27 00:54:58 +0800
commit3a3d0bdaaf932f6ca17f2de3447c989127bc143a (patch)
tree358b9ea6cd6dd8eedd8bc915b98a1f27d0c2dff7 /src/win/graph
parent9e2d63adb90c293f4bc2893b0de7655aea2ecc85 (diff)
downloadcru-3a3d0bdaaf932f6ca17f2de3447c989127bc143a.tar.gz
cru-3a3d0bdaaf932f6ca17f2de3447c989127bc143a.tar.bz2
cru-3a3d0bdaaf932f6ca17f2de3447c989127bc143a.zip
...
Diffstat (limited to 'src/win/graph')
-rw-r--r--src/win/graph/CMakeLists.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/win/graph/CMakeLists.txt b/src/win/graph/CMakeLists.txt
index d326eb2b..03cd4566 100644
--- a/src/win/graph/CMakeLists.txt
+++ b/src/win/graph/CMakeLists.txt
@@ -1,8 +1,20 @@
+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)
+ 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)