diff options
| author | crupest <crupest@outlook.com> | 2019-06-27 00:18:48 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-06-27 00:18:48 +0800 |
| commit | baa7cf141b8121473edceae16c1a20a6d47bd202 (patch) | |
| tree | 9349633a9d0bc286fe29f480bd70e4c2ad1f3075 /src/win/graph/direct/CMakeLists.txt | |
| parent | f404a3b2eb7bb9865d0c6f938538899996a53d8c (diff) | |
| download | cru-baa7cf141b8121473edceae16c1a20a6d47bd202.tar.gz cru-baa7cf141b8121473edceae16c1a20a6d47bd202.tar.bz2 cru-baa7cf141b8121473edceae16c1a20a6d47bd202.zip | |
......
Diffstat (limited to 'src/win/graph/direct/CMakeLists.txt')
| -rw-r--r-- | src/win/graph/direct/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/win/graph/direct/CMakeLists.txt b/src/win/graph/direct/CMakeLists.txt new file mode 100644 index 00000000..7a04a778 --- /dev/null +++ b/src/win/graph/direct/CMakeLists.txt @@ -0,0 +1,24 @@ +set(CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/win/graph/direct) + +add_library(cru_win_graph_direct STATIC + brush.cpp + exception.cpp + font.cpp + geometry.cpp + graph_factory.cpp + painter.cpp + text_layout.cpp +) +target_sources(cru_win_graph_direct PUBLIC + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/brush.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/com_resource.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/convert_util.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/direct_factory.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/exception.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/font.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/geometry.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/graph_factory.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/painter.hpp + ${CRU_WIN_GRAPH_DIRECT_INCLUDE_DIR}/text_layout.hpp +) +target_link_libraries(cru_win_graph_direct PUBLIC D3D11 D2d1 DWrite cru_win_base) |
