The Xcode toolchain targets are useful on OS X hosts because you can construct and install multiple toolchians that can be used seamlessly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278987
91177308-0d34-0410-b5e6-
96231b3b80d8
set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "Build Compiler-RT with just-built clang")
set(COMPILER_RT_ENABLE_IOS ON CACHE BOOL "Build iOS Compiler-RT libraries")
+set(LLVM_CREATE_XCODE_TOOLCHAIN ON CACHE BOOL "Generate targets to create and install an Xcode compatable toolchain")
+
# Make unit tests (if present) part of the ALL target
set(LLVM_BUILD_TESTS ON CACHE BOOL "")
set(CLANG_BOOTSTRAP_TARGETS
distribution
install-distribution
+ install-distribution-toolchain
check-all
check-llvm
check-clang
stage2
stage2-distribution
stage2-install-distribution
+ stage2-install-distribution-toolchain
stage2-check-all
stage2-check-llvm
stage2-check-clang