[lld] r340943 - [CMake] Add an lld-test-depends target
Martin Storsjo via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 29 10:30:46 PDT 2018
Author: mstorsjo
Date: Wed Aug 29 10:30:45 2018
New Revision: 340943
URL: http://llvm.org/viewvc/llvm-project?rev=340943&view=rev
Log:
[CMake] Add an lld-test-depends target
This builds all dependencies of lld-test/check-lld, without running
the tests. This matches llvm-test-depends and clang-test-depends.
Differential Revision: https://reviews.llvm.org/D51439
Modified:
lld/trunk/test/CMakeLists.txt
Modified: lld/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/CMakeLists.txt?rev=340943&r1=340942&r2=340943&view=diff
==============================================================================
--- lld/trunk/test/CMakeLists.txt (original)
+++ lld/trunk/test/CMakeLists.txt Wed Aug 29 10:30:45 2018
@@ -53,6 +53,9 @@ add_lit_testsuite(check-lld "Running lld
DEPENDS ${LLD_TEST_DEPS}
)
+add_custom_target(lld-test-depends DEPENDS ${LLD_TEST_DEPS})
+set_target_properties(lld-test-depends PROPERTIES FOLDER "lld tests")
+
add_lit_testsuites(LLD ${CMAKE_CURRENT_SOURCE_DIR}
PARAMS lld_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
lld_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
More information about the llvm-commits
mailing list