llvm-capstone/clang-tools-extra/clang-include-fixer/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

38 lines
583 B
CMake

set(LLVM_LINK_COMPONENTS
support
)
add_clang_library(clangIncludeFixer
IncludeFixer.cpp
IncludeFixerContext.cpp
InMemorySymbolIndex.cpp
FuzzySymbolIndex.cpp
SymbolIndexManager.cpp
YamlSymbolIndex.cpp
LINK_LIBS
findAllSymbols
DEPENDS
omp_gen
ClangDriverOptions
)
clang_target_link_libraries(clangIncludeFixer
PRIVATE
clangAST
clangBasic
clangFormat
clangFrontend
clangLex
clangParse
clangSema
clangSerialization
clangTooling
clangToolingCore
)
add_subdirectory(plugin)
add_subdirectory(tool)
add_subdirectory(find-all-symbols)