forked from OSchip/llvm-project
60 lines
1.0 KiB
CMake
60 lines
1.0 KiB
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_library(clangDaemon
|
|
AST.cpp
|
|
ClangdLSPServer.cpp
|
|
ClangdServer.cpp
|
|
ClangdUnit.cpp
|
|
CodeComplete.cpp
|
|
CodeCompletionStrings.cpp
|
|
CompileArgsCache.cpp
|
|
Compiler.cpp
|
|
Context.cpp
|
|
Diagnostics.cpp
|
|
DraftStore.cpp
|
|
FuzzyMatch.cpp
|
|
GlobalCompilationDatabase.cpp
|
|
Headers.cpp
|
|
JSONExpr.cpp
|
|
JSONRPCDispatcher.cpp
|
|
Logger.cpp
|
|
Protocol.cpp
|
|
ProtocolHandlers.cpp
|
|
SourceCode.cpp
|
|
Threading.cpp
|
|
Trace.cpp
|
|
TUScheduler.cpp
|
|
URI.cpp
|
|
XRefs.cpp
|
|
index/CanonicalIncludes.cpp
|
|
index/FileIndex.cpp
|
|
index/Index.cpp
|
|
index/MemIndex.cpp
|
|
index/Merge.cpp
|
|
index/SymbolCollector.cpp
|
|
index/SymbolYAML.cpp
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangFormat
|
|
clangFrontend
|
|
clangIndex
|
|
clangLex
|
|
clangSema
|
|
clangSerialization
|
|
clangTooling
|
|
clangToolingCore
|
|
clangToolingRefactor
|
|
${LLVM_PTHREAD_LIB}
|
|
)
|
|
|
|
if( LLVM_LIB_FUZZING_ENGINE OR LLVM_USE_SANITIZE_COVERAGE )
|
|
add_subdirectory(fuzzer)
|
|
endif()
|
|
add_subdirectory(tool)
|
|
add_subdirectory(global-symbol-builder)
|