mod-manager/data/resources/meson.build

22 lines
625 B
Meson
Raw Permalink Normal View History

2023-12-21 09:38:30 +00:00
# Resources
2023-12-21 11:30:30 +00:00
blueprints = custom_target('blueprints',
input: files(
'ui/windows/main/main.blp',
'ui/windows/main/pages/welcome.blp',
'ui/windows/main/pages/games_and_mods.blp',
'ui/windows/add_new_game/add_new_game.blp',
'ui/components/card.blp',
2023-12-21 11:30:30 +00:00
),
output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
)
2023-12-21 09:38:30 +00:00
resources = gnome.compile_resources(
'resources',
'resources.gresource.xml',
gresource_bundle: true,
2023-12-21 11:30:30 +00:00
dependencies: blueprints,
2023-12-21 09:38:30 +00:00
source_dir: meson.current_build_dir(),
install: true,
install_dir: pkgdatadir,
)