diff options
author | Brad King <brad.king@kitware.com> | 2020-01-28 16:35:15 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-28 11:35:24 -0500 |
commit | a4d7a79beb3c3431f900e184678bdc66133653bf (patch) | |
tree | 05d5f0983e5b1ef2becb5d7fc96df473de282446 /Source/cmGlobalGenerator.cxx | |
parent | 7706b6a71406b535ffe2f707647126eac4a8c767 (diff) | |
parent | ccaa0bccc42a31f7515c6f85a0601ac0ad006e96 (diff) | |
download | cmake-a4d7a79beb3c3431f900e184678bdc66133653bf.tar.gz |
Merge topic 'ninja-1.10'
ccaa0bccc4 Ninja: Do not clean metadata when re-generating inside a running build
657820a00b Ninja: Track when running to re-generate during a build
b12b013028 Ninja: Factor metadata cleanup into dedicated method
5d92e60d81 Ninja: Skip cleandead and recompact if build.ninja is missing
dd0a4718fd Ninja: Fix CMAKE_NINJA_OUTPUT_PATH_PREFIX with Ninja 1.10
0944caaebb Tests: Fix RunCMake.CMP0037 test with Ninja 1.10
9d4883cce5 Tests: Fix RunCMake.Ninja test for Ninja 1.10
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4290
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 45e13bcc4b..1f084f5eb6 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2527,6 +2527,7 @@ void cmGlobalGenerator::AddGlobalTarget_RebuildCache( gti.PerConfig = false; cmCustomCommandLine singleLine; singleLine.push_back(cmSystemTools::GetCMakeCommand()); + singleLine.push_back("--regenerate-during-build"); singleLine.push_back("-S$(CMAKE_SOURCE_DIR)"); singleLine.push_back("-B$(CMAKE_BINARY_DIR)"); gti.CommandLines.push_back(std::move(singleLine)); |