llvm-project/clang/lib/Index/CMakeLists.txt
Heejin Ahn 555cbebdf2 [Index] Add clangLex to LINK_LIBS
Without this, builds with `-DSHARED_LIB=ON` fail.

llvm-svn: 336526
2018-07-09 08:54:42 +00:00

31 lines
464 B
CMake

set(LLVM_LINK_COMPONENTS
Core
Support
)
add_clang_library(clangIndex
CodegenNameGenerator.cpp
CommentToXML.cpp
IndexBody.cpp
IndexDecl.cpp
IndexingAction.cpp
IndexingContext.cpp
IndexSymbol.cpp
IndexTypeSourceInfo.cpp
USRGeneration.cpp
ADDITIONAL_HEADERS
IndexingContext.h
SimpleFormatContext.h
LINK_LIBS
clangAST
clangBasic
clangFormat
clangFrontend
clangLex
clangRewrite
clangSerialization
clangToolingCore
)