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

19 lines
245 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
clangTooling
)