mirror of
https://github.com/nlohmann/json.git
synced 2024-12-21 12:05:30 +08:00
b21c345179
* 🚚 move files * 🚚 rename doc folder to docs * 🚚 rename test folder to tests
17 lines
500 B
CMake
17 lines
500 B
CMake
# These tests are not instrumented with coverage and don't
|
|
# have coverage rt in the binary.
|
|
|
|
set(CMAKE_CXX_FLAGS
|
|
"${LIBFUZZER_FLAGS_BASE} -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters,trace-pc-guard")
|
|
|
|
set(UninstrumentedTests
|
|
UninstrumentedTest
|
|
)
|
|
|
|
foreach(Test ${UninstrumentedTests})
|
|
add_libfuzzer_test(${Test}-Uninstrumented SOURCES ../${Test}.cpp)
|
|
endforeach()
|
|
|
|
# Propagate value into parent directory
|
|
set(TestBinaries ${TestBinaries} PARENT_SCOPE)
|