xref: /openbsd-src/gnu/llvm/clang/lib/Analysis/plugins/CMakeLists.txt (revision 12c855180aad702bbcca06e0398d774beeafb155)
1# Since these do not specify a specific PLUGIN_TOOL (which could be clang or
2# clang-tidy), we cannot compile this unless the platform supports plugins with
3# undefined symbols, and cannot use it unless the user has opted for clang plugins).
4if(CLANG_ENABLE_STATIC_ANALYZER AND CLANG_PLUGIN_SUPPORT AND LLVM_ENABLE_PLUGINS)
5  add_subdirectory(SampleAnalyzer)
6  add_subdirectory(CheckerDependencyHandling)
7  add_subdirectory(CheckerOptionHandling)
8endif()
9