mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +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])])
|
[GNUmakefile=$GNUmakefile])])
|
||||||
|
|
||||||
AC_CONFIG_FILES([\
|
AC_CONFIG_FILES([\
|
||||||
Makefile \
|
Makefile])
|
||||||
.color_coded \
|
|
||||||
.ycm_extra_conf.py])
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
19
meson.build
19
meson.build
@ -2326,6 +2326,25 @@ configure_file(
|
|||||||
run_command('chmod', 'a+x', meson.current_build_dir() / 'run')
|
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
|
# print configuration summary
|
||||||
|
|
||||||
driver_summary = {
|
driver_summary = {
|
||||||
|
Loading…
Reference in New Issue
Block a user