This allows exposing a custom list of targets from the next stage build up.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255799
91177308-0d34-0410-b5e6-
96231b3b80d8
ExternalProject_Add_StepTargets(bootstrap really-install)
add_custom_target(bootstrap-install DEPENDS bootstrap-really-install)
-
- set(ADDITIONAL_TARGETS_TO_ADD check-llvm check-clang check-all)
- foreach(target ${ADDITIONAL_TARGETS_TO_ADD})
+ if(NOT CLANG_BOOTSTRAP_TARGETS)
+ set(CLANG_BOOTSTRAP_TARGETS check-llvm check-clang check-all)
+ endif()
+ foreach(target ${CLANG_BOOTSTRAP_TARGETS})
# exclude from main target
set_target_properties(bootstrap PROPERTIES _EP_${target}_EXCLUDE_FROM_MAIN On)