-# Common compiler setup
-# Outputs: cxx system
-
# Don't limit the number of errors when using clang. This is useful to not cut out the
# error output when using an LSP server like clangd.
if meson.get_compiler('cpp').get_id() == 'clang'
-# Print a system/project summary
-
summary('System', system, section: 'System')
summary('C++ Compiler', cxx.get_id(), section: 'System')
summary('C++ Compiler Version', cxx.version(), section: 'System')
summary('C++ Compiler Command', ' '.join(cxx.cmd_array()), section: 'System')
summary('Linker', cxx.get_linker_id(), section: 'System')
-
-summary('Name', meson.project_name(), section: 'PowerDNS')
-summary('Version', meson.project_version(), section: 'PowerDNS')
-
-# summary('Source Root', meson.project_source_root(), section: 'PowerDNS') # TODO Meson 0.56
-# summary('Build Root', meson.project_build_root(), section: 'PowerDNS') # TODO Meson 0.56
-# Generate version define
-# Inputs: conf
-
gen_version_prog = find_program('gen-version', dirs: product_source_dir / 'builder-support', required: true)
gen_version_prog_res = run_command(gen_version_prog, check: true)
product_version = gen_version_prog_res.stdout().strip()