1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} Support Option ) add_clang_unittest(ClangDriverTests DistroTest.cpp ToolChainTest.cpp ModuleCacheTest.cpp MultilibTest.cpp SanitizerArgsTest.cpp ) clang_target_link_libraries(ClangDriverTests PRIVATE clangDriver clangBasic clangFrontend # For TextDiagnosticPrinter. )