From 4d0a7d99ebf55ad2d0e583759699b8b4d77a7907 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 24 Jul 2024 13:23:55 +0200 Subject: app: move ui code to ui library --- res/CMakeLists.txt | 55 ------------------------------------------------------ 1 file changed, 55 deletions(-) delete mode 100644 res/CMakeLists.txt (limited to 'res/CMakeLists.txt') diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt deleted file mode 100644 index a825e4c..0000000 --- a/res/CMakeLists.txt +++ /dev/null @@ -1,55 +0,0 @@ -# Library - -add_library("res") - -set(UI_FILES - "widgets/participant_row.ui" - "widgets/turn_order_view.ui" - "windows/participant_editor.ui" - "windows/tracker.ui" -) - -export_cambalache_files("ui.cmb" UI_FILES ${UI_FILES}) - -target_add_glib_resources("res" - PREFIX "ch/arknet/Turns" - UI_FILES ${UI_FILES} - CSS_FILES - "style.css" - "style-dark.css" -) - -target_compile_options("res" PRIVATE - "$<$,$>:-fprofile-arcs>" - "$<$,$>:-ftest-coverage>" -) - -target_link_libraries("res" PUBLIC - "$<$,$>:gcov>" - - "PkgConfig::adwaita" - "PkgConfig::gtkmm" -) - -target_link_options("res" PRIVATE - "$<$,$>:--coverage>" -) - -add_library("turns::res" ALIAS "res") - -# Tests - -add_executable("res-tests" - "tests/windows.cpp" -) - -target_link_libraries("res-tests" PRIVATE - "Catch2::Catch2" - - "$<$:-Wl,--whole-archive>" - "turns::res" - "$<$:-Wl,--no-whole-archive>" - "turns::gtk-test-main" -) - -catch_discover_tests("res-tests") \ No newline at end of file -- cgit v1.2.3