summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-07 14:49:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-02-07 14:49:49 (GMT)
commit9bef06d0a58d0b20c1bf11e005a9898c05e2eb14 (patch)
treea4444f9dcaa1a5fbe94ecf05aafe0b8f8916722e /Source/cmGlobalXCodeGenerator.cxx
parent921d8c4d6485f87d8d37c6c488dbb4a20a640032 (diff)
parent480b3637243d89f59906bee794ababc7cecc220e (diff)
downloadCMake-9bef06d0a58d0b20c1bf11e005a9898c05e2eb14.zip
CMake-9bef06d0a58d0b20c1bf11e005a9898c05e2eb14.tar.gz
CMake-9bef06d0a58d0b20c1bf11e005a9898c05e2eb14.tar.bz2
Merge topic 'custom-command-policies'
480b363724 cmCustomCommand: Refactor custom command-specific policy values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8168
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index f91879e..ed1de16 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -615,7 +615,6 @@ void cmGlobalXCodeGenerator::AddExtraTargets(
auto cc = cm::make_unique<cmCustomCommand>();
cc->SetCommandLines(
cmMakeSingleCommandLine({ "echo", "Build all projects" }));
- cc->SetCMP0116Status(cmPolicies::NEW);
cmTarget* allbuild =
root->AddUtilityCommand("ALL_BUILD", true, std::move(cc));
@@ -655,7 +654,6 @@ void cmGlobalXCodeGenerator::AddExtraTargets(
cmSystemTools::ReplaceString(file, "\\ ", " ");
cc = cm::make_unique<cmCustomCommand>();
cc->SetCommandLines(cmMakeSingleCommandLine({ "make", "-f", file }));
- cc->SetCMP0116Status(cmPolicies::NEW);
cmTarget* check = root->AddUtilityCommand(CMAKE_CHECK_BUILD_SYSTEM_TARGET,
true, std::move(cc));
@@ -687,7 +685,6 @@ void cmGlobalXCodeGenerator::AddExtraTargets(
cc->SetCommandLines(legacyDependHelperCommandLines);
cc->SetComment("Depend check for xcode");
cc->SetWorkingDirectory(legacyDependHelperDir.c_str());
- cc->SetCMP0116Status(cmPolicies::NEW);
gen->AddCustomCommandToTarget(
target->GetName(), cmCustomCommandType::POST_BUILD, std::move(cc),
cmObjectLibraryCommands::Accept);