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 --- ui/res/CMakeLists.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ui/res/CMakeLists.txt (limited to 'ui/res/CMakeLists.txt') diff --git a/ui/res/CMakeLists.txt b/ui/res/CMakeLists.txt new file mode 100644 index 0000000..94d41ef --- /dev/null +++ b/ui/res/CMakeLists.txt @@ -0,0 +1,23 @@ +add_library("ui-res" OBJECT) + +target_link_libraries("ui-res" PRIVATE + "PkgConfig::giomm" +) + +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("ui-res" + PREFIX "/" + UI_FILES ${UI_FILES} +) + +enable_coverage("ui-res") \ No newline at end of file -- cgit v1.2.3