]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Cleanup various modules
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Aug 2023 21:02:07 +0000 (23:02 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:38 +0000 (13:28 +0100)
meson/compiler-setup/meson.build
meson/config/meson.build
meson/summary/meson.build
meson/version/meson.build

index e132b79ec88afebfb5f30d4c6c3df95f40ab55d1..4abc13dd389b85f4ede20e9df39575010813ad52 100644 (file)
@@ -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'
index d97d73f9a3013d2688648d50de33115fd3e6184c..10a1bcfd97167fdf54c77b392829f7e93801c893 100644 (file)
@@ -1,3 +1 @@
-# Config
-
 add_global_arguments('-DHAVE_CONFIG_H', language: ['c', 'cpp'])
index a9db992a7a9430516fa8a29c30970a02072f452d..01c1960b5b4683a9d65e8df90178b98adb7c32b0 100644 (file)
@@ -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
index 69b39a7de684b325cb565744abf75f5e23b710f7..5fdf56938bf4075b2c829ddbe53b1f9163c6d9ac 100644 (file)
@@ -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()