The tests were correctly getting skipped but the targets still mistakenly got
built.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209983
91177308-0d34-0410-b5e6-
96231b3b80d8
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
)