https://github.com/Kitware/CMake
Revision a3deae71990e0fd6b495bb3e925755cdbcaf89eb authored by Brad King on 13 September 2017, 14:32:56 UTC, committed by Brad King on 13 September 2017, 14:37:14 UTC
Since commit v3.9.0-rc1~281^2 (Use quotes for non-system includes,
2017-04-11) we include `cmConfigure.h` via `""` instead of `<>`.
This breaks the `bootstrap` script when run more than once in an
in-source build.  In that case `cmConfigure.h` is generated next
to the source files that include it, so `""`-style includes prevent the
`Bootstrap.cmk/cmConfigure.h` file from being included during bootstrap.

Fix this by teaching the bootstrap script to remove any `cmConfigure.h`
that may have been generated by an earlier run in an in-source build.

Fixes: #17082
1 parent ffa1647
Raw File
Tip revision: a3deae71990e0fd6b495bb3e925755cdbcaf89eb authored by Brad King on 13 September 2017, 14:32:56 UTC
bootstrap: Fix running multiple times in-source
Tip revision: a3deae7
.clang-format
---
# This configuration requires clang-format 3.8 or higher.
BasedOnStyle: Mozilla
AlignOperands: false
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
ColumnLimit: 79
Standard: Cpp03
...
back to top