subdir('meson/boost') # Boost
subdir('meson/unit-tests') # Unit Tests
subdir('meson/reproducible') # Reproducible Builds
+subdir('meson/fuzz-targets') # Fuzzing Targets
# Boost Program Options library
dep_boost_program_options = dependency('boost', modules: ['program_options'], required: true)
--- /dev/null
+# Fuzzing Targets
+# Inputs: conf
+
+opt_fuzz = get_option('fuzz-targets')
+conf.set10('FUZZ_TARGETS', opt_fuzz, description: 'Whether to enable fuzzing targets')
option('unit-tests', type: 'boolean', value: false, description: 'Enable building unit tests')
option('backend-unit-tests', type: 'boolean', value: false, description: 'Enable building backend unit tests')
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')