1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[CMake] Expose runtime component check targets

This will expose the check targets for runtime project components into the top-level build. It will enable exposing targets like check-asan.

llvm-svn: 279861
This commit is contained in:
Chris Bieneman 2016-08-26 20:34:11 +00:00
parent 68515406cf
commit 8922537391

View File

@ -153,6 +153,9 @@ else() # if this is included from LLVM's CMake
if(LLVM_INCLUDE_TESTS)
set(test_targets runtimes-test-depends check-runtimes)
foreach(component ${SUB_COMPONENTS})
list(APPEND SUB_COMPONENT_CHECK_TARGETS check-${component})
endforeach()
endif()
# Create a runtimes target that uses this file as its top-level CMake file.
@ -168,6 +171,7 @@ else() # if this is included from LLVM's CMake
EXTRA_TARGETS ${extra_targets}
${test_targets}
${SUB_COMPONENTS}
${SUB_COMPONENT_CHECK_TARGETS}
${SUB_INSTALL_TARGETS}
USE_TOOLCHAIN)
if(LLVM_INCLUDE_TESTS)