diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-05-22 15:59:17 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-05-22 17:15:50 (GMT) |
commit | dddb4f02f74a2ffe550e0b2404504d657358b69a (patch) | |
tree | 93bf0fc82a5e4bbb8ba66919ca8bb9f4b8d8341a /Source/cmNinjaUtilityTargetGenerator.cxx | |
parent | 0c557a0cab681b17dbd4ed06f7776459880a90ea (diff) | |
download | CMake-dddb4f02f74a2ffe550e0b2404504d657358b69a.zip CMake-dddb4f02f74a2ffe550e0b2404504d657358b69a.tar.gz CMake-dddb4f02f74a2ffe550e0b2404504d657358b69a.tar.bz2 |
Ninja Multi-Config: Make "install" targets depend on default configs
And add an "install:all" target.
Fixes: #20713
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaUtilityTargetGenerator.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx index a42d65d..6e39242 100644 --- a/Source/cmNinjaUtilityTargetGenerator.cxx +++ b/Source/cmNinjaUtilityTargetGenerator.cxx @@ -160,10 +160,5 @@ void cmNinjaUtilityTargetGenerator::Generate(const std::string& config) // be per-directory and have one at the top-level anyway. if (genTarget->GetType() != cmStateEnums::GLOBAL_TARGET) { gg->AddTargetAlias(this->GetTargetName(), genTarget, config); - } else if (gg->IsMultiConfig() && genTarget->Target->IsPerConfig()) { - cmNinjaBuild phonyAlias("phony"); - gg->AppendTargetOutputs(genTarget, phonyAlias.Outputs, ""); - phonyAlias.ExplicitDeps = phonyBuild.Outputs; - gg->WriteBuild(this->GetImplFileStream(config), phonyAlias); } } |