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
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.
EXTRA_TARGETS ${extra_targets}
${test_targets}
${SUB_COMPONENTS}
+ ${SUB_COMPONENT_CHECK_TARGETS}
${SUB_INSTALL_TARGETS}
USE_TOOLCHAIN)
if(LLVM_INCLUDE_TESTS)