This commit is contained in:
Yakov Olkhovskiy 2024-10-21 00:12:55 +00:00
parent f4bd651b94
commit d552f51dfe
2 changed files with 2 additions and 1 deletions

View File

@ -88,6 +88,7 @@ string (TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UC)
list(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
option (ENABLE_FUZZING "Fuzzy testing using libfuzzer" OFF)
option (ENABLE_FUZZER_TEST "Build testing fuzzers in order to test libFuzzer functionality" OFF)
if (ENABLE_FUZZING)
# Also set WITH_COVERAGE=1 for better fuzzing process

View File

@ -24,6 +24,6 @@ if (ENABLE_UTILS)
add_subdirectory (memcpy-bench)
endif ()
if (ENABLE_FUZZING)
if (ENABLE_FUZZING AND ENABLE_FUZZER_TEST)
add_subdirectory (libfuzzer-test)
endif ()