llvm-project/clang/unittests/Index/CMakeLists.txt

20 lines
266 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Support
)
add_clang_unittest(IndexTests
IndexTests.cpp
)
target_link_libraries(IndexTests
PRIVATE
clangAST
clangBasic
clangFrontend
clangIndex
clangLex
clangSerialization
clangTooling
)