llvm.org GIT mirror llvm / cf9a1e3
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279861 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 4 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
152152
153153 if(LLVM_INCLUDE_TESTS)
154154 set(test_targets runtimes-test-depends check-runtimes)
155 foreach(component ${SUB_COMPONENTS})
156 list(APPEND SUB_COMPONENT_CHECK_TARGETS check-${component})
157 endforeach()
155158 endif()
156159
157160 # Create a runtimes target that uses this file as its top-level CMake file.
167170 EXTRA_TARGETS ${extra_targets}
168171 ${test_targets}
169172 ${SUB_COMPONENTS}
173 ${SUB_COMPONENT_CHECK_TARGETS}
170174 ${SUB_INSTALL_TARGETS}
171175 USE_TOOLCHAIN)
172176 if(LLVM_INCLUDE_TESTS)