1234567891011121314151617181920 |
- add_library(fuzzhelper NullOStream.h NullOStream.cpp)
- target_link_libraries(fuzzhelper PUBLIC Catch2::Catch2)
- target_compile_features(fuzzhelper PUBLIC cxx_std_17)
- target_link_options(fuzzhelper PUBLIC "-fsanitize=fuzzer")
- foreach(fuzzer TestSpecParser XmlWriter textflow)
- add_executable(fuzz_${fuzzer} fuzz_${fuzzer}.cpp)
- target_link_libraries(fuzz_${fuzzer} PRIVATE fuzzhelper)
- endforeach()
|