2017-10-26 18:03:11 +08:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
|
|
|
|
2019-04-04 22:08:35 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
FuzzMutate
|
|
|
|
Support
|
|
|
|
)
|
2017-10-26 18:03:11 +08:00
|
|
|
|
2019-04-04 08:05:53 +08:00
|
|
|
# This fuzzer runs on oss-fuzz, so keep it around even if it looks unreferenced.
|
|
|
|
add_llvm_fuzzer(clangd-fuzzer
|
|
|
|
clangd-fuzzer.cpp
|
|
|
|
DUMMY_MAIN DummyClangdMain.cpp
|
2017-10-26 18:03:11 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(clangd-fuzzer
|
2017-12-07 03:52:40 +08:00
|
|
|
PRIVATE
|
2017-10-26 18:03:11 +08:00
|
|
|
clangBasic
|
|
|
|
clangDaemon
|
|
|
|
clangFormat
|
|
|
|
clangFrontend
|
|
|
|
clangSema
|
|
|
|
clangTooling
|
|
|
|
clangToolingCore
|
|
|
|
)
|