forked from OSchip/llvm-project
33 lines
533 B
CMake
33 lines
533 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
FrontendOpenMP
|
|
Support
|
|
)
|
|
|
|
add_clang_unittest(ClangAnalysisTests
|
|
CFGDominatorTree.cpp
|
|
CFGTest.cpp
|
|
CloneDetectionTest.cpp
|
|
ExprMutationAnalyzerTest.cpp
|
|
MacroExpansionContextTest.cpp
|
|
)
|
|
|
|
clang_target_link_libraries(ClangAnalysisTests
|
|
PRIVATE
|
|
clangAnalysis
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangFrontend
|
|
clangLex
|
|
clangSerialization
|
|
clangTesting
|
|
clangTooling
|
|
)
|
|
|
|
target_link_libraries(ClangAnalysisTests
|
|
PRIVATE
|
|
LLVMTestingSupport
|
|
)
|
|
|
|
add_subdirectory(FlowSensitive)
|