llvm-project/clang/lib/Index/CMakeLists.txt
Jon Roelofs 2fb1c1082c
cmake: add missing dependencies on ClangDriverOptions tablegen
The modules build trips over this frequently because there is no textual
include of the tablegen output, but the module includes it.

Differential revision: https://reviews.llvm.org/D157119
2023-08-04 10:27:19 -07:00

33 lines
462 B
CMake

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