]> granicus.if.org Git - clang/commitdiff
[CMake] Add convenience target clang-test-depends to build test dependencies.
authorChris Bieneman <beanz@apple.com>
Wed, 2 Mar 2016 00:27:15 +0000 (00:27 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 2 Mar 2016 00:27:15 +0000 (00:27 +0000)
This is useful when paired with the distribution targets to build prerequisites for running tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262429 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt

index 8dd64d1614ac261c19e185cb5f9e309b58628dc9..f1a5838f6bd5a6c0006825e8f8ef19d6ff800da8 100644 (file)
@@ -71,6 +71,8 @@ if( NOT CLANG_BUILT_STANDALONE )
     )
 endif()
 
+add_custom_target(clang-test-depends DEPENDS ${CLANG_TEST_DEPS})
+
 add_lit_testsuite(check-clang "Running the Clang regression tests"
   ${CMAKE_CURRENT_BINARY_DIR}
   #LIT ${LLVM_LIT}