diff options
author | Brad King <brad.king@kitware.com> | 2021-05-18 15:08:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-19 16:07:58 (GMT) |
commit | ddc030f5ca20d4519559e052b7c5538cf40f34f6 (patch) | |
tree | 8eee3d5dcfa67a045d22d217bacd244236bd73a0 /Source/cmGlobalNinjaGenerator.cxx | |
parent | ceb82752efbd7a25d1b54e0b038712eecb70163b (diff) | |
download | CMake-ddc030f5ca20d4519559e052b7c5538cf40f34f6.zip CMake-ddc030f5ca20d4519559e052b7c5538cf40f34f6.tar.gz CMake-ddc030f5ca20d4519559e052b7c5538cf40f34f6.tar.bz2 |
cmGlobalNinjaGenerator: Record implicit outputs as known too
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 565b951..a1a17c3 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -226,6 +226,9 @@ void cmGlobalNinjaGenerator::WriteBuild(std::ostream& os, buildStr += " |"; for (std::string const& implicitOut : build.ImplicitOuts) { buildStr += cmStrCat(' ', this->EncodePath(implicitOut)); + if (this->ComputingUnknownDependencies) { + this->CombinedBuildOutputs.insert(implicitOut); + } } } buildStr += ':'; |