r262429 - [CMake] Add convenience target clang-test-depends to build test dependencies.

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 16:27:16 PST 2016


Author: cbieneman
Date: Tue Mar  1 18:27:15 2016
New Revision: 262429

URL: http://llvm.org/viewvc/llvm-project?rev=262429&view=rev
Log:
[CMake] Add convenience target clang-test-depends to build test dependencies.

This is useful when paired with the distribution targets to build prerequisites for running tests.

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=262429&r1=262428&r2=262429&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Tue Mar  1 18:27:15 2016
@@ -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}




More information about the cfe-commits mailing list