mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-08 07:37:33 +00:00
cmQtAutoGenInitializer: Remove no-op calls
This commit is contained in:
committed by
Brad King
parent
55d93bdabf
commit
b6f66b445a
@@ -1381,8 +1381,6 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
|
||||
// '_autogen' target.
|
||||
const auto timestampTargetName =
|
||||
cmStrCat(this->GenTarget->GetName(), "_autogen_timestamp_deps");
|
||||
std::vector<std::string> timestampTargetProvides;
|
||||
cmCustomCommandLines timestampTargetCommandLines;
|
||||
|
||||
// Add additional autogen target dependencies to
|
||||
// '_autogen_timestamp_deps'.
|
||||
@@ -1401,9 +1399,7 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
|
||||
|
||||
auto cc = cm::make_unique<cmCustomCommand>();
|
||||
cc->SetWorkingDirectory(this->Dir.Work.c_str());
|
||||
cc->SetByproducts(timestampTargetProvides);
|
||||
cc->SetDepends(dependencies);
|
||||
cc->SetCommandLines(timestampTargetCommandLines);
|
||||
cc->SetEscapeOldStyle(false);
|
||||
cmTarget* timestampTarget = this->LocalGen->AddUtilityCommand(
|
||||
timestampTargetName, true, std::move(cc));
|
||||
|
||||
Reference in New Issue
Block a user