diff options
author | Brad King <brad.king@kitware.com> | 2020-05-25 14:33:17 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-05-25 14:33:26 (GMT) |
commit | 99ab9212f09b1ea5a2731ca972b6c00efb9e6e1d (patch) | |
tree | de00c89fb099361a6a794d775e466b4555d0e014 /Source/cmNinjaUtilityTargetGenerator.cxx | |
parent | 7612246d0f84f4b2d674344aa76f5abc60dd4cd5 (diff) | |
parent | dddb4f02f74a2ffe550e0b2404504d657358b69a (diff) | |
download | CMake-99ab9212f09b1ea5a2731ca972b6c00efb9e6e1d.zip CMake-99ab9212f09b1ea5a2731ca972b6c00efb9e6e1d.tar.gz CMake-99ab9212f09b1ea5a2731ca972b6c00efb9e6e1d.tar.bz2 |
Merge topic 'ninja-multi-install'
dddb4f02f7 Ninja Multi-Config: Make "install" targets depend on default configs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4778
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 134924e..b0b7953 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); } } |