diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-31 11:19:09 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-31 11:19:09 +0000 |
commit | 729b1160dc19c650b123cf2e24ec20ec33376bab (patch) | |
tree | 87293cdea61cfab335aff5ebe6272c738c07cbff /examples | |
parent | 75dc0f63fc21ce1d100d45c3c42774a2ec326351 (diff) |
[CMake] Suppress SampleAnalyzerPlugin w/o ENABLE_STATIC_ANALYZER.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200532 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 84a5d2cecb..6213bc7c2a 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -2,6 +2,8 @@ if(NOT CLANG_BUILD_EXAMPLES) set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON) endif() +if(CLANG_ENABLE_STATIC_ANALYZER) add_subdirectory(analyzer-plugin) +endif() add_subdirectory(clang-interpreter) add_subdirectory(PrintFunctionNames) |