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

20 lines
336 B
CMake

set(LLVM_LINK_COMPONENTS
Support
)
add_clang_unittest(StaticAnalysisTests
AnalyzerOptionsTest.cpp
RegisterCustomCheckersTest.cpp
)
target_link_libraries(StaticAnalysisTests
PRIVATE
clangBasic
clangAnalysis
clangFrontend
clangSerialization
clangStaticAnalyzerCore
clangStaticAnalyzerFrontend
clangTooling
)