diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-16 13:23:18 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-16 13:59:52 +0200 |
| commit | 16d6aa1d19415ee4a782baea143c71a9a1bbe02d (patch) | |
| tree | c53d819fdf49baa4a6affaa3ef4ad59ab9c23e4e /res/CMakeLists.txt | |
| parent | 44d2614a260d2b029a79c59ee7fdd45e1958feb8 (diff) | |
| download | turns-16d6aa1d19415ee4a782baea143c71a9a1bbe02d.tar.xz turns-16d6aa1d19415ee4a782baea143c71a9a1bbe02d.zip | |
res: automatically export UI files
Diffstat (limited to 'res/CMakeLists.txt')
| -rw-r--r-- | res/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt index fda52b8..325c584 100644 --- a/res/CMakeLists.txt +++ b/res/CMakeLists.txt @@ -2,13 +2,18 @@ add_library("res") -target_add_glib_resources("res" - PREFIX "ch/arknet/Turns" - UI_FILES +set(UI_FILES "widgets/participant_row.ui" "widgets/turn_order_view.ui" "windows/main.ui" "windows/participant_editor.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" |
