From: Fred Morcos Date: Fri, 7 Jul 2023 09:31:37 +0000 (+0200) Subject: Meson: Verbose Logging X-Git-Tag: rec-5.1.0-alpha1~80^2~343 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba7748ad211aa6fe4620091c06f8f9e3af71fcc4;p=thirdparty%2Fpdns.git Meson: Verbose Logging --- diff --git a/meson.build b/meson.build index 3fe2f024af..63f0557360 100644 --- a/meson.build +++ b/meson.build @@ -50,6 +50,7 @@ subdir('meson/fuzz-targets') # Fuzzing Targets subdir('meson/python-venv') # Python Venv subdir('meson/from-git') # From Git subdir('meson/dlopen') # dlopen +subdir('meson/verbose-logging') # Verbose Logging # Find or generate pdns/dnslabeltext.cc if not ragel.found() and not fs.exists('pdns/dnslabeltext.cc') diff --git a/meson/verbose-logging/meson.build b/meson/verbose-logging/meson.build new file mode 100644 index 0000000000..9b5b0ad598 --- /dev/null +++ b/meson/verbose-logging/meson.build @@ -0,0 +1,5 @@ +# Verbose Logging +# Inputs: conf + +opt_verbose_logging = get_option('verbose-logging') +conf.set10('VERBOSELOG', opt_verbose_logging, description: 'Whether to enable verbose logging') diff --git a/meson_options.txt b/meson_options.txt index 003384bb9d..21db1d8a3f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -14,3 +14,4 @@ option('backend-unit-tests', type: 'boolean', value: false, description: 'Enable option('reproducible', type: 'boolean', value: false, description: 'Create reproducible builds. Use this only if you are a distribution maintainer and need reproducible builds. If you compile PowerDNS yourself, leave this disabled, as it might make debugging harder') option('fuzz-targets', type: 'boolean', value: false, description: 'Enable fuzzing targets') option('sqlite3', type: 'boolean', value: false, description: 'Include the sqlite3 driver') +option('verbose-logging', type: 'boolean', value: false, description: 'Enable verbose logging')