syntax_check_conf = configuration_data({
'top_srcdir': meson.source_root(),
- 'top_builddir': meson.build_root(),
+ 'top_builddir': meson.project_build_root(),
'flake8_path': flake8_path,
'runutf8': ' '.join(runutf8),
'PYTHON3': python3_prog.path(),
command: [
xsltproc_prog,
'--stringparam', 'pagesrc', data.get('source', ''),
- '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'builddir', meson.project_build_root(),
'--stringparam', 'timestamp', docs_timestamp,
'--stringparam', 'href_base', data.get('href_base', ''),
'--nonet',
],
command: [
xsltproc_prog, '--nonet', '-o', docs_builddir,
- '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'builddir', meson.project_build_root(),
'--stringparam', 'timestamp', docs_timestamp,
'@INPUT@',
],
],
command: [
xsltproc_prog, '--nonet', '-o', docs_builddir,
- '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'builddir', meson.project_build_root(),
'--stringparam', 'timestamp', docs_timestamp,
'--stringparam', 'indexfile', 'index-@0@.html'.format(name),
'@INPUT@',
command: [
xsltproc_prog,
'--stringparam', 'pagesrc', data.get('source', ''),
- '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'builddir', meson.project_build_root(),
'--stringparam', 'timestamp', docs_timestamp,
'--stringparam', 'href_base', data.get('href_base', ''),
'--nonet',
command: [
xsltproc_prog,
'--stringparam', 'pagesrc', data.get('source', ''),
- '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'builddir', meson.project_build_root(),
'--stringparam', 'timestamp', docs_timestamp,
'--stringparam', 'href_base', data.get('href_base', ''),
'--nonet',
command: [
xsltproc_prog,
'--stringparam', 'pagesrc', data.get('source', ''),
- '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'builddir', meson.project_build_root(),
'--stringparam', 'timestamp', docs_timestamp,
'--stringparam', 'href_base', data.get('href_base', ''),
'--nonet',
python3_prog,
hvsupport_prog,
meson.source_root(),
- meson.build_root(),
+ meson.project_build_root(),
],
capture: true,
depend_files: [
command: [
xsltproc_prog,
'--stringparam', 'pagesrc', data.get('source', ''),
- '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'builddir', meson.project_build_root(),
'--stringparam', 'timestamp', docs_timestamp,
'--stringparam', 'href_base', data.get('href_base', ''),
'--nonet',
args: [
check_html_references_prog.path(),
'--prefix',
- meson.build_root() / 'docs'
+ meson.project_build_root() / 'docs'
],
env: runutf8,
)
conf = configuration_data()
conf.set('_GNU_SOURCE', 1)
-conf.set_quoted('abs_top_builddir', meson.build_root())
+conf.set_quoted('abs_top_builddir', meson.project_build_root())
conf.set_quoted('abs_top_srcdir', meson.source_root())
conf.set_quoted('PACKAGE', meson.project_name())
conf.set_quoted('PACKAGE_NAME', meson.project_name())
foreach file : dist_files
meson.add_dist_script(
meson_python_prog.path(), python3_prog.path(), meson_dist_prog.path(),
- meson.build_root(), file
+ meson.project_build_root(), file
)
endforeach
endif
# generate run helper
run_conf = configuration_data({
- 'abs_builddir': meson.build_root(),
- 'abs_top_builddir': meson.build_root(),
+ 'abs_builddir': meson.project_build_root(),
+ 'abs_top_builddir': meson.project_build_root(),
})
configure_file(
'--keyword=N_',
'--add-comments=TRANSLATORS:',
'--directory=@0@'.format(meson.source_root()),
- '--directory=@0@'.format(meson.build_root()),
+ '--directory=@0@'.format(meson.project_build_root()),
'--files-from=@0@'.format(meson.current_source_dir() / 'POTFILES'),
'--msgid-bugs-address=https://libvirt.org/bugs.html',
'--package-version=@0@'.format(meson.project_version()),
command: [
meson_python_prog, python3_prog, esx_vi_generator_prog,
meson.source_root() / 'src',
- meson.build_root() / 'src',
+ meson.project_build_root() / 'src',
'header',
],
)
command: [
meson_python_prog, python3_prog, esx_vi_generator_prog,
meson.source_root() / 'src',
- meson.build_root() / 'src',
+ meson.project_build_root() / 'src',
'source',
],
)
command: [
meson_python_prog, python3_prog, hyperv_wmi_generator_prog,
meson.source_root() / 'src',
- meson.build_root() / 'src',
+ meson.project_build_root() / 'src',
],
)
src_dep = declare_dependency(
compile_args: [
'-DIN_LIBVIRT',
- '-Dabs_top_builddir="@0@"'.format(meson.build_root()),
+ '-Dabs_top_builddir="@0@"'.format(meson.project_build_root()),
'-Dabs_top_srcdir="@0@"'.format(meson.source_root()),
] + coverage_flags + win32_flags,
dependencies: [
run_pkg_config_conf = configuration_data({
'VERSION': meson.project_version(),
- 'abs_top_builddir': meson.build_root(),
+ 'abs_top_builddir': meson.project_build_root(),
'abs_top_srcdir': meson.source_root(),
})
tests_dep = declare_dependency(
compile_args: [
'-Dabs_builddir="@0@"'.format(meson.current_build_dir()),
- '-Dabs_top_builddir="@0@"'.format(meson.build_root()),
+ '-Dabs_top_builddir="@0@"'.format(meson.project_build_root()),
'-Dabs_srcdir="@0@"'.format(meson.current_source_dir()),
'-Dabs_top_srcdir="@0@"'.format(meson.source_root()),
] + coverage_flags + cc_flags_relaxed_frame_limit,
tests_env = [
'abs_builddir=@0@'.format(meson.current_build_dir()),
'abs_srcdir=@0@'.format(meson.current_source_dir()),
- 'abs_top_builddir=@0@'.format(meson.build_root()),
+ 'abs_top_builddir=@0@'.format(meson.project_build_root()),
'abs_top_srcdir=@0@'.format(meson.source_root()),
'LC_ALL=C',
'LIBVIRT_AUTOSTART=0',