xref: /llvm-project/clang/lib/Analysis/plugins/CMakeLists.txt (revision 9d59cfc67eadbe4b4088d70f8bbc61c96568d2f1)
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