diff options
author | crupest <crupest@outlook.com> | 2022-01-17 22:55:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-17 22:55:09 +0800 |
commit | 67dd012c0f49898f1734c46d3bb264f59d056a8e (patch) | |
tree | 780dc9c50868a8e7b89e68b463a60745fce72ae9 /src/ui/CMakeLists.txt | |
parent | 81f7d5faaaf79149070a901a4f299aee70c46379 (diff) | |
download | cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.gz cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.bz2 cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.zip |
...
Diffstat (limited to 'src/ui/CMakeLists.txt')
-rw-r--r-- | src/ui/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index 16b03309..0d42c8b7 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -1,6 +1,6 @@ set(CRU_UI_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/ui) -add_library(cru_ui STATIC +add_library(cru_ui SHARED Helper.cpp ThemeManager.cpp UiManager.cpp @@ -26,6 +26,8 @@ add_library(cru_ui STATIC helper/ShortcutHub.cpp host/LayoutPaintCycler.cpp host/WindowHost.cpp + mapper/Mapper.cpp + mapper/MapperRegistry.cpp render/BorderRenderObject.cpp render/CanvasRenderObject.cpp render/FlexLayoutRenderObject.cpp @@ -39,7 +41,6 @@ add_library(cru_ui STATIC style/Styler.cpp style/StyleRule.cpp style/StyleRuleSet.cpp - xml/XmlMapper.cpp - xml/XmlMapperRegistry.cpp ) -target_link_libraries(cru_ui PUBLIC cru_platform_gui) +target_compile_definitions(cru_ui PRIVATE CRU_UI_EXPORT_API) +target_link_libraries(cru_ui PUBLIC cru_platform_gui cru_xml) |