subdir('meson/auth-tools') # Tools
subdir('meson/ixfrdist') # Ixfrdist
subdir('meson/systemd') # Systemd and unit file handling
-subdir('meson/code-coverage') # Code coverage
+# TODO Use meson's -Db_coverage option?
+# subdir('meson/code-coverage') # Code coverage
subdir('meson/auto-var-init') # Automatic Variable Initialization
-subdir('meson/sanitizers') # Sanitizers
+# TODO Use meson's -Db_sanitize option?
+# subdir('meson/sanitizers') # Sanitizers
# Find or generate pdns/dnslabeltext.cc
if not ragel.found() and not fs.exists('pdns/dnslabeltext.cc')
option('lua-records', type: 'boolean', value: true, description: 'Support Lua records')
option('systemd-service-user', type: 'string', value: 'pdns', description: 'Systemd service user (setuid and unit file; user is not created)')
option('systemd-service-group', type: 'string', value: 'pdns', description: 'Systemd service group (setgid and unit file; group is not created)')
-option('code-coverage', type: 'boolean', value: false, description: 'Enable code coverage')
+# TODO Use meson's -Db_coverage option?
+# option('code-coverage', type: 'boolean', value: false, description: 'Enable code coverage')
option('auto-var-init', type: 'combo', value: 'disabled', choices: ['zero', 'pattern', 'disabled'], description: 'Enable initialization of automatic variables')
-option('sanitizer-address', type: 'boolean', value: false, description: 'Enable the Address Sanitizer')
-option('sanitizer-memory', type: 'boolean', value: false, description: 'Enable the Memory Sanitizer')
-option('sanitizer-thread', type: 'boolean', value: false, description: 'Enable the Thread Sanitizer')
-option('sanitizer-leak', type: 'boolean', value: false, description: 'Enable the Leak Sanitizer')
-option('sanitizer-undefined', type: 'boolean', value: false, description: 'Enable the Undefined Behavior Sanitizer')
+# TODO Use meson's -Db_sanitize option?
+# option('sanitizer-address', type: 'boolean', value: false, description: 'Enable the Address Sanitizer')
+# option('sanitizer-memory', type: 'boolean', value: false, description: 'Enable the Memory Sanitizer')
+# option('sanitizer-thread', type: 'boolean', value: false, description: 'Enable the Thread Sanitizer')
+# option('sanitizer-leak', type: 'boolean', value: false, description: 'Enable the Leak Sanitizer')
+# option('sanitizer-undefined', type: 'boolean', value: false, description: 'Enable the Undefined Behavior Sanitizer')