mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-13 04:46:15 +01:00
Merge branch 'install-tag' into 'main'
meson: Set install_tag on all tools See merge request GNOME/glib!2882
This commit is contained in:
commit
dcb464f013
@ -20,6 +20,7 @@ gdbus_codegen_conf.set('DATADIR', glib_datadir)
|
|||||||
gdbus_codegen = configure_file(input : 'gdbus-codegen.in',
|
gdbus_codegen = configure_file(input : 'gdbus-codegen.in',
|
||||||
output : 'gdbus-codegen',
|
output : 'gdbus-codegen',
|
||||||
install_dir : get_option('bindir'),
|
install_dir : get_option('bindir'),
|
||||||
|
install_tag : 'bin-devel',
|
||||||
configuration : gdbus_codegen_conf
|
configuration : gdbus_codegen_conf
|
||||||
)
|
)
|
||||||
# Provide tools for others when we're a subproject and they use the Meson GNOME module
|
# Provide tools for others when we're a subproject and they use the Meson GNOME module
|
||||||
|
@ -410,6 +410,7 @@ if host_system != 'windows'
|
|||||||
include_directories : glibinc,
|
include_directories : glibinc,
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : multiarch_libexecdir,
|
install_dir : multiarch_libexecdir,
|
||||||
|
install_tag : 'bin',
|
||||||
c_args : gio_c_args,
|
c_args : gio_c_args,
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args)
|
link_args : noseh_link_args)
|
||||||
@ -959,6 +960,7 @@ gio_tool_sources = [
|
|||||||
|
|
||||||
executable('gio', gio_tool_sources,
|
executable('gio', gio_tool_sources,
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin',
|
||||||
c_args : gio_c_args,
|
c_args : gio_c_args,
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
@ -966,6 +968,7 @@ executable('gio', gio_tool_sources,
|
|||||||
|
|
||||||
executable('gresource', 'gresource-tool.c',
|
executable('gresource', 'gresource-tool.c',
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin',
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
dependencies : [libelf, libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep])
|
dependencies : [libelf, libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep])
|
||||||
@ -973,6 +976,7 @@ executable('gresource', 'gresource-tool.c',
|
|||||||
gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodule-priv.c',
|
gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodule-priv.c',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : multiarch_bindir,
|
install_dir : multiarch_bindir,
|
||||||
|
install_tag : 'bin',
|
||||||
c_args : gio_c_args,
|
c_args : gio_c_args,
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
@ -982,6 +986,7 @@ glib_compile_schemas = executable('glib-compile-schemas',
|
|||||||
['glib-compile-schemas.c'],
|
['glib-compile-schemas.c'],
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : multiarch_bindir,
|
install_dir : multiarch_bindir,
|
||||||
|
install_tag : 'bin',
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep, gvdb_dep])
|
dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep, gvdb_dep])
|
||||||
@ -989,6 +994,7 @@ glib_compile_schemas = executable('glib-compile-schemas',
|
|||||||
glib_compile_resources = executable('glib-compile-resources',
|
glib_compile_resources = executable('glib-compile-resources',
|
||||||
[gconstructor_as_data_h, 'glib-compile-resources.c'],
|
[gconstructor_as_data_h, 'glib-compile-resources.c'],
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin-devel',
|
||||||
c_args : gio_c_args,
|
c_args : gio_c_args,
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
@ -1005,6 +1011,7 @@ endif
|
|||||||
|
|
||||||
executable('gsettings', 'gsettings-tool.c',
|
executable('gsettings', 'gsettings-tool.c',
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin',
|
||||||
c_args : gio_c_args,
|
c_args : gio_c_args,
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
@ -1017,6 +1024,7 @@ install_data(['gschema.loc', 'gschema.its'],
|
|||||||
|
|
||||||
executable('gdbus', 'gdbus-tool.c',
|
executable('gdbus', 'gdbus-tool.c',
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin',
|
||||||
c_args : gio_c_args,
|
c_args : gio_c_args,
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
@ -1025,6 +1033,7 @@ executable('gdbus', 'gdbus-tool.c',
|
|||||||
if host_system != 'windows' and not glib_have_cocoa
|
if host_system != 'windows' and not glib_have_cocoa
|
||||||
executable('gapplication', 'gapplication-tool.c',
|
executable('gapplication', 'gapplication-tool.c',
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin',
|
||||||
c_args : gio_c_args,
|
c_args : gio_c_args,
|
||||||
# intl.lib is not compatible with SAFESEH
|
# intl.lib is not compatible with SAFESEH
|
||||||
link_args : noseh_link_args,
|
link_args : noseh_link_args,
|
||||||
|
@ -435,6 +435,7 @@ if host_system == 'windows'
|
|||||||
else
|
else
|
||||||
gtester = executable('gtester', 'gtester.c',
|
gtester = executable('gtester', 'gtester.c',
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin-devel',
|
||||||
c_args : ['-UG_DISABLE_ASSERT'],
|
c_args : ['-UG_DISABLE_ASSERT'],
|
||||||
include_directories : configinc,
|
include_directories : configinc,
|
||||||
dependencies : [libglib_dep])
|
dependencies : [libglib_dep])
|
||||||
@ -447,6 +448,7 @@ configure_file(
|
|||||||
input: 'gtester-report.in',
|
input: 'gtester-report.in',
|
||||||
output: 'gtester-report',
|
output: 'gtester-report',
|
||||||
install_dir: get_option('bindir'),
|
install_dir: get_option('bindir'),
|
||||||
|
install_tag : 'bin-devel',
|
||||||
configuration: report_conf,
|
configuration: report_conf,
|
||||||
install_mode: 'rwxr-xr-x'
|
install_mode: 'rwxr-xr-x'
|
||||||
)
|
)
|
||||||
|
@ -80,6 +80,7 @@ foreach tool: python_tools
|
|||||||
output : tool,
|
output : tool,
|
||||||
configuration : python_tools_conf,
|
configuration : python_tools_conf,
|
||||||
install_dir : glib_bindir,
|
install_dir : glib_bindir,
|
||||||
|
install_tag : 'bin-devel',
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set variables for later use
|
# Set variables for later use
|
||||||
@ -154,6 +155,7 @@ meson.override_dependency('gobject-2.0', libgobject_dep)
|
|||||||
|
|
||||||
executable('gobject-query', 'gobject-query.c',
|
executable('gobject-query', 'gobject-query.c',
|
||||||
install : true,
|
install : true,
|
||||||
|
install_tag : 'bin-devel',
|
||||||
dependencies : [libglib_dep, libgobject_dep])
|
dependencies : [libglib_dep, libgobject_dep])
|
||||||
|
|
||||||
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb'))
|
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb'))
|
||||||
|
@ -9,6 +9,7 @@ if have_sh
|
|||||||
gettextize_conf.set('datadir', glib_datadir)
|
gettextize_conf.set('datadir', glib_datadir)
|
||||||
configure_file(input : 'glib-gettextize.in',
|
configure_file(input : 'glib-gettextize.in',
|
||||||
install_dir : glib_bindir,
|
install_dir : glib_bindir,
|
||||||
|
install_tag : 'bin-devel',
|
||||||
output : 'glib-gettextize',
|
output : 'glib-gettextize',
|
||||||
configuration : gettextize_conf)
|
configuration : gettextize_conf)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user