llvm-project/clang/examples/analyzer-plugin/CMakeLists.txt

11 lines
272 B
CMake
Raw Normal View History

add_llvm_loadable_module(SampleAnalyzerPlugin MainCallChecker.cpp)
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
target_link_libraries(SampleAnalyzerPlugin ${cmake_2_8_12_PRIVATE}
clangAnalysis
clangAST
clangStaticAnalyzerCore
LLVMSupport
)
endif()