xref: /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/fuzz/CMakeLists.txt (revision 1f9cb04fc6f537ca6cf5a53c28927340cba218a2)
1if (LLVM_USE_SANITIZE_COVERAGE)
2  add_executable(get_error_info_fuzzer
3      get_error_info_fuzzer.cpp)
4  set_target_properties(
5      get_error_info_fuzzer PROPERTIES FOLDER "Fuzzers")
6  target_compile_options(
7      get_error_info_fuzzer PRIVATE -fsanitize=fuzzer)
8  set_target_properties(
9      get_error_info_fuzzer PROPERTIES LINK_FLAGS -fsanitize=fuzzer)
10  target_include_directories(
11      get_error_info_fuzzer PRIVATE .. ../include)
12endif()
13