mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
meson: gtk: use array for installed tools definition
This commit is contained in:
parent
bdfcfdec57
commit
7738688c00
@ -810,48 +810,24 @@ libgtk_dep = declare_dependency(
|
|||||||
include_directories: [confinc, gtkinc]
|
include_directories: [confinc, gtkinc]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Installed tools
|
||||||
|
|
||||||
|
gtk_tools = [
|
||||||
|
['gtk4-query-settings', ['gtk-query-settings.c']],
|
||||||
|
['gtk4-builder-tool', ['gtk-builder-tool.c']],
|
||||||
|
['gtk4-update-icon-cache', ['updateiconcache.c']],
|
||||||
|
['gtk4-encode-symbolic-svg', ['encodesymbolic.c']],
|
||||||
|
['gtk4-launch', ['gtk-launch.c']],
|
||||||
|
['gtk4-query-immodules', ['queryimmodules.c', 'gtkutils.c']],
|
||||||
|
]
|
||||||
|
|
||||||
####### Utils ######
|
foreach tool : gtk_tools
|
||||||
gtk_query_settings = executable(
|
tool_name = tool.get(0)
|
||||||
'gtk4-query-settings',
|
tool_srcs = tool.get(1)
|
||||||
'gtk-query-settings.c',
|
|
||||||
dependencies: libgtk_dep,
|
|
||||||
install: true
|
|
||||||
)
|
|
||||||
|
|
||||||
gtk_builder_tool = executable(
|
executable(tool_name, tool_srcs,
|
||||||
'gtk4-builder-tool',
|
include_directories: [confinc],
|
||||||
'gtk-builder-tool.c',
|
c_args: gtk_cargs,
|
||||||
dependencies: libgtk_dep,
|
dependencies: libgtk_dep,
|
||||||
install: true
|
install: true)
|
||||||
)
|
endforeach
|
||||||
|
|
||||||
gtk_update_icon_cache = executable(
|
|
||||||
'gtk4-update-icon-cache',
|
|
||||||
'updateiconcache.c',
|
|
||||||
dependencies: libgtk_dep,
|
|
||||||
install: true
|
|
||||||
)
|
|
||||||
|
|
||||||
# gtk_query_immodules = executable(
|
|
||||||
# 'gtk-query-immodules-3.0',
|
|
||||||
# 'queryimmodules.c',
|
|
||||||
# 'gtkutils.c',
|
|
||||||
# dependencies: libgtk_dep,
|
|
||||||
# install: true
|
|
||||||
# )
|
|
||||||
|
|
||||||
gtk_encode_symbolic_svg = executable(
|
|
||||||
'gtk4-encode-symbolic-svg',
|
|
||||||
'encodesymbolic.c',
|
|
||||||
dependencies: libgtk_dep,
|
|
||||||
install: true
|
|
||||||
)
|
|
||||||
|
|
||||||
gtk_launch = executable(
|
|
||||||
'gtk4-launch',
|
|
||||||
'gtk-launch.c',
|
|
||||||
dependencies: libgtk_dep,
|
|
||||||
install: true
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user