From: Fred Morcos Date: Tue, 15 Aug 2023 21:02:07 +0000 (+0200) Subject: Meson: Cleanup various modules X-Git-Tag: rec-5.1.0-alpha1~80^2~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf7b4f803a5c4e4d7082ce7bbab5f1bdd0497ff;p=thirdparty%2Fpdns.git Meson: Cleanup various modules --- diff --git a/meson/compiler-setup/meson.build b/meson/compiler-setup/meson.build index e132b79ec8..4abc13dd38 100644 --- a/meson/compiler-setup/meson.build +++ b/meson/compiler-setup/meson.build @@ -1,6 +1,3 @@ -# 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' diff --git a/meson/config/meson.build b/meson/config/meson.build index d97d73f9a3..10a1bcfd97 100644 --- a/meson/config/meson.build +++ b/meson/config/meson.build @@ -1,3 +1 @@ -# Config - add_global_arguments('-DHAVE_CONFIG_H', language: ['c', 'cpp']) diff --git a/meson/summary/meson.build b/meson/summary/meson.build index a9db992a7a..01c1960b5b 100644 --- a/meson/summary/meson.build +++ b/meson/summary/meson.build @@ -1,13 +1,5 @@ -# 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 diff --git a/meson/version/meson.build b/meson/version/meson.build index 69b39a7de6..5fdf56938b 100644 --- a/meson/version/meson.build +++ b/meson/version/meson.build @@ -1,6 +1,3 @@ -# 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()