r209983 - Don't add examples to the check-clang dependencies unless requested
Alp Toker
alp at nuanti.com
Sat May 31 19:02:24 PDT 2014
Author: alp
Date: Sat May 31 21:02:23 2014
New Revision: 209983
URL: http://llvm.org/viewvc/llvm-project?rev=209983&view=rev
Log:
Don't add examples to the check-clang dependencies unless requested
The tests were correctly getting skipped but the targets still mistakenly got
built.
Modified:
cfe/trunk/test/CMakeLists.txt
Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=209983&r1=209982&r2=209983&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Sat May 31 21:02:23 2014
@@ -29,10 +29,16 @@ list(APPEND CLANG_TEST_DEPS
c-index-test diagtool arcmt-test c-arcmt-test
clang-check clang-format
clang-tblgen
- clang-interpreter
- PrintFunctionNames
- SampleAnalyzerPlugin
)
+
+if (ENABLE_CLANG_EXAMPLES)
+ list(APPEND CLANG_TEST_DEPS
+ clang-interpreter
+ PrintFunctionNames
+ SampleAnalyzerPlugin
+ )
+endif ()
+
set(CLANG_TEST_PARAMS
clang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
)
More information about the cfe-commits
mailing list