r257562 - Install scan-build and scan-view only if Static Analyzer was enabled.
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 12 18:03:51 PST 2016
Author: eugenezelenko
Date: Tue Jan 12 20:03:50 2016
New Revision: 257562
URL: http://llvm.org/viewvc/llvm-project?rev=257562&view=rev
Log:
Install scan-build and scan-view only if Static Analyzer was enabled.
Modified:
cfe/trunk/tools/CMakeLists.txt
Modified: cfe/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CMakeLists.txt?rev=257562&r1=257561&r2=257562&view=diff
==============================================================================
--- cfe/trunk/tools/CMakeLists.txt (original)
+++ cfe/trunk/tools/CMakeLists.txt Tue Jan 12 20:03:50 2016
@@ -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'
More information about the cfe-commits
mailing list