mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
meson: generate developer tooling files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
1dfd4248e9
commit
13c9063e65
@ -104,7 +104,5 @@ m4_if(m4_version_compare([2.61a.100],
|
||||
[GNUmakefile=$GNUmakefile])])
|
||||
|
||||
AC_CONFIG_FILES([\
|
||||
Makefile \
|
||||
.color_coded \
|
||||
.ycm_extra_conf.py])
|
||||
Makefile])
|
||||
AC_OUTPUT
|
||||
|
19
meson.build
19
meson.build
@ -2326,6 +2326,25 @@ configure_file(
|
||||
run_command('chmod', 'a+x', meson.current_build_dir() / 'run')
|
||||
|
||||
|
||||
# generate developer tooling files
|
||||
tooling_files = [
|
||||
'.color_coded.in',
|
||||
'.ycm_extra_conf.py.in',
|
||||
]
|
||||
|
||||
tooling_conf = configuration_data()
|
||||
tooling_conf.set('abs_top_builddir', meson.build_root())
|
||||
tooling_conf.set('abs_top_srcdir', meson.source_root())
|
||||
|
||||
foreach file : tooling_files
|
||||
configure_file(
|
||||
input: file,
|
||||
output: '@BASENAME@',
|
||||
configuration: tooling_conf,
|
||||
)
|
||||
endforeach
|
||||
|
||||
|
||||
# print configuration summary
|
||||
|
||||
driver_summary = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user