]> granicus.if.org Git - clang/commit
[CMake] Name the bootstrap stages stage[0-9]
authorChris Bieneman <beanz@apple.com>
Wed, 16 Dec 2015 20:17:07 +0000 (20:17 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 16 Dec 2015 20:17:07 +0000 (20:17 +0000)
commit0bb51636fa0eda47f9a72c622daa4e40311fc81a
tree9502fe53f7b3c4f40ce8220cd6e8761adc299680
parent76888cf66cbc1ad4b1b281399ed2b83ce308e036
[CMake] Name the bootstrap stages stage[0-9]

When you start chaining bootstrap stages the CMake-generated targets get unwieldy. This change supports naming the bootstrap targets and creating wrapper targets in the top-level build file.

Without this patch the default target generated for a second stage build was "bootstrap" with it the target is "stage2".

Also with some CMake goop setting CLANG_BOOTSTRAP_TARGETS, you can expose third stage targets as "stage3" instead of "bootstrap-bootstrap"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255813 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt