• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..
2  ${CMAKE_CURRENT_BINARY_DIR}/..)
3
4set(LLVM_LINK_COMPONENTS
5  FuzzMutate
6  Support
7  )
8
9# This fuzzer runs on oss-fuzz, so keep it around even if it looks unreferenced.
10add_llvm_fuzzer(clangd-fuzzer
11  clangd-fuzzer.cpp
12  DUMMY_MAIN DummyClangdMain.cpp
13  )
14
15clang_target_link_libraries(clangd-fuzzer
16  PRIVATE
17  clangBasic
18  clangFormat
19  clangFrontend
20  clangSema
21  clangTooling
22  clangToolingCore
23  )
24target_link_libraries(clangd-fuzzer
25  PRIVATE
26  clangDaemon
27  clangdSupport
28  )
29