]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Verbose Logging
authorFred Morcos <fred.morcos@open-xchange.com>
Fri, 7 Jul 2023 09:31:37 +0000 (11:31 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:28 +0000 (13:28 +0100)
meson.build
meson/verbose-logging/meson.build [new file with mode: 0644]
meson_options.txt

index 3fe2f024afa13fe33570d6836f520b35e6fcbfd7..63f0557360697fe3d63d54b7f6ce8154f308ce89 100644 (file)
@@ -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 (file)
index 0000000..9b5b0ad
--- /dev/null
@@ -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')
index 003384bb9dcd80dc8bd6a0f7dfb3b6f8701996e6..21db1d8a3f81db87c01271f2022931931ee2409b 100644 (file)
@@ -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')