[CMake] Add test-depends target to build dependencies of check-all
authorChris Bieneman <beanz@apple.com>
Wed, 2 Mar 2016 17:56:30 +0000 (17:56 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 2 Mar 2016 17:56:30 +0000 (17:56 +0000)
This is just another convenience target for bots to use. It enables isolation of building and testing.

llvm-svn: 262494

llvm/CMakeLists.txt

index 04cc921..2c07e84 100644 (file)
@@ -727,6 +727,7 @@ if( LLVM_INCLUDE_TESTS )
     DEPENDS ${LLVM_LIT_DEPENDS}
     ARGS ${LLVM_LIT_EXTRA_ARGS}
     )
+  add_custom_target(test-depends DEPENDS ${LLVM_LIT_DEPENDS})
 endif()
 
 if (LLVM_INCLUDE_DOCS)