From: Fred Morcos Date: Tue, 8 Aug 2023 13:53:15 +0000 (+0200) Subject: Meson: Move -DHAVE_CONFIG_H to meson build module X-Git-Tag: rec-5.1.0-alpha1~80^2~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66627c8323d017c41b1b0ba8ceea989fdb654d1d;p=thirdparty%2Fpdns.git Meson: Move -DHAVE_CONFIG_H to meson build module --- diff --git a/meson.build b/meson.build index 09b0a9ac6f..87caf6cced 100644 --- a/meson.build +++ b/meson.build @@ -21,10 +21,10 @@ summary('Build Dir', product_build_dir, section: 'Build') fs = import('fs') # Create the configuration object and dependencies list. -add_global_arguments('-DHAVE_CONFIG_H', language: ['c', 'cpp']) conf = configuration_data() deps = [] +subdir('meson' / 'config') # Config subdir('meson' / 'version') # Generate version define subdir('meson' / 'compiler-setup') # Common compiler setup subdir('meson' / 'summary') # Print a system/project summary diff --git a/meson/config/meson.build b/meson/config/meson.build new file mode 100644 index 0000000000..d97d73f9a3 --- /dev/null +++ b/meson/config/meson.build @@ -0,0 +1,3 @@ +# Config + +add_global_arguments('-DHAVE_CONFIG_H', language: ['c', 'cpp'])