r200532 - [CMake] Suppress SampleAnalyzerPlugin w/o ENABLE_STATIC_ANALYZER.

NAKAMURA Takumi geek4civic at gmail.com
Fri Jan 31 03:19:10 PST 2014


Author: chapuni
Date: Fri Jan 31 05:19:09 2014
New Revision: 200532

URL: http://llvm.org/viewvc/llvm-project?rev=200532&view=rev
Log:
[CMake] Suppress SampleAnalyzerPlugin w/o ENABLE_STATIC_ANALYZER.

Modified:
    cfe/trunk/examples/CMakeLists.txt

Modified: cfe/trunk/examples/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/CMakeLists.txt?rev=200532&r1=200531&r2=200532&view=diff
==============================================================================
--- cfe/trunk/examples/CMakeLists.txt (original)
+++ cfe/trunk/examples/CMakeLists.txt Fri Jan 31 05:19:09 2014
@@ -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)





More information about the cfe-commits mailing list