summaryrefslogtreecommitdiffstats
path: root/clang/tools
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-01-13 02:03:50 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-01-13 02:03:50 +0000
commita78996e2e6e071811f2f80b27ce2313e83f4ff94 (patch)
tree062622531d2af1a7dcc5b7b5574774af0cf2b744 /clang/tools
parent3806c5c15c1ee63badf2771b4337c8070e977918 (diff)
downloadbcm5719-llvm-a78996e2e6e071811f2f80b27ce2313e83f4ff94.tar.gz
bcm5719-llvm-a78996e2e6e071811f2f80b27ce2313e83f4ff94.zip
Install scan-build and scan-view only if Static Analyzer was enabled.
llvm-svn: 257562
Diffstat (limited to 'clang/tools')
-rw-r--r--clang/tools/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/CMakeLists.txt b/clang/tools/CMakeLists.txt
index dba676a1f75..510bc44f40c 100644
--- a/clang/tools/CMakeLists.txt
+++ b/clang/tools/CMakeLists.txt
@@ -5,8 +5,6 @@ add_clang_subdirectory(driver)
add_clang_subdirectory(clang-format)
add_clang_subdirectory(clang-format-vs)
add_clang_subdirectory(clang-fuzzer)
-add_clang_subdirectory(scan-build)
-add_clang_subdirectory(scan-view)
add_clang_subdirectory(c-index-test)
add_clang_subdirectory(libclang)
@@ -18,6 +16,8 @@ endif()
if(CLANG_ENABLE_STATIC_ANALYZER)
add_clang_subdirectory(clang-check)
+ add_clang_subdirectory(scan-build)
+ add_clang_subdirectory(scan-view)
endif()
# We support checking out the clang-tools-extra repository into the 'extra'
OpenPOWER on IntegriCloud