summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-25 14:33:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-05-25 14:33:26 (GMT)
commit99ab9212f09b1ea5a2731ca972b6c00efb9e6e1d (patch)
treede00c89fb099361a6a794d775e466b4555d0e014 /Source/cmNinjaUtilityTargetGenerator.cxx
parent7612246d0f84f4b2d674344aa76f5abc60dd4cd5 (diff)
parentdddb4f02f74a2ffe550e0b2404504d657358b69a (diff)
downloadCMake-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.cxx5
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);
}
}