This will expose the check targets for runtime project components into the top-level build. It will enable exposing targets like check-asan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279861
91177308-0d34-0410-b5e6-
96231b3b80d8
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)