summaryrefslogtreecommitdiff
path: root/gui/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-05-30 11:45:54 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-05-30 11:45:54 +0200
commitbfa30ed79cffee4f5c0d33b7fe7bd64581be3fdf (patch)
tree48e451c1aafcbd0d58d45292499ee81effcc82bc /gui/CMakeLists.txt
parent8ef970b679505ea82ea41e94ffa972a732731eae (diff)
downloadturns-bfa30ed79cffee4f5c0d33b7fe7bd64581be3fdf.tar.xz
turns-bfa30ed79cffee4f5c0d33b7fe7bd64581be3fdf.zip
gui: reintroduce ParticipantRow
Diffstat (limited to 'gui/CMakeLists.txt')
-rw-r--r--gui/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 799022d..a640b61 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -65,6 +65,8 @@ target_compile_definitions("resources" PUBLIC
# Library
add_library("gui_impl"
+ "src/init.cpp"
+ "src/participant_row.cpp"
"src/settings.cpp"
)
@@ -81,10 +83,6 @@ target_link_libraries("gui_impl" PUBLIC
"PkgConfig::glib"
"PkgConfig::glibmm"
-
- "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--whole-archive>"
- "resources"
- "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>"
)
target_compile_definitions("gui_impl" PUBLIC
@@ -109,6 +107,10 @@ target_include_directories("gui" PUBLIC
target_link_libraries("gui" PUBLIC
"gui_impl"
+
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--whole-archive>"
+ "resources"
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>"
)
set_target_properties("gui" PROPERTIES
@@ -150,6 +152,10 @@ add_executable("gui-tests"
target_link_libraries("gui-tests" PRIVATE
"gui_impl"
"Catch2::Catch2WithMain"
+
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--whole-archive>"
+ "resources"
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>"
)
target_compile_definitions("resources" PUBLIC