Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer libra...
[oota-llvm.git] / lib / Fuzzer / CMakeLists.txt
1 if( LLVM_USE_SANITIZE_COVERAGE  )
2   add_library(LLVMFuzzer STATIC
3     EXCLUDE_FROM_ALL  # Do not build if you are not building fuzzers.
4     FuzzerCrossOver.cpp
5     FuzzerIO.cpp
6     FuzzerLoop.cpp
7     FuzzerMain.cpp
8     FuzzerMutate.cpp
9     FuzzerUtil.cpp
10     )
11
12   if( LLVM_INCLUDE_TESTS )
13     add_subdirectory(test)
14   endif()
15 endif()