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

32 lines
613 B
CMake

set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_unittest(StaticAnalysisTests
AnalyzerOptionsTest.cpp
CallDescriptionTest.cpp
CallEventTest.cpp
FalsePositiveRefutationBRVisitorTest.cpp
ParamRegionTest.cpp
RangeSetTest.cpp
RegisterCustomCheckersTest.cpp
StoreTest.cpp
SymbolReaperTest.cpp
TestReturnValueUnderConstruction.cpp
)
clang_target_link_libraries(StaticAnalysisTests
PRIVATE
clangBasic
clangAnalysis
clangAST
clangASTMatchers
clangCrossTU
clangFrontend
clangSerialization
clangStaticAnalyzerCore
clangStaticAnalyzerFrontend
clangTooling
)