cmTarget: Remove Compute method.
This commit is contained in:
parent
dce6581b7b
commit
af71c7b479
|
@ -1538,7 +1538,6 @@ void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes,
|
|||
ti != targets.end(); ++ti)
|
||||
{
|
||||
cmTarget* t = &ti->second;
|
||||
t->Compute();
|
||||
cmGeneratorTarget* gt = new cmGeneratorTarget(t, lg);
|
||||
this->GeneratorTargets[t] = gt;
|
||||
generatorTargets[t] = gt;
|
||||
|
|
|
@ -254,7 +254,6 @@ bool cmGlobalVisualStudio8Generator::AddCheckTarget()
|
|||
mf->AddUtilityCommand(CMAKE_CHECK_BUILD_SYSTEM_TARGET, false,
|
||||
no_working_directory, no_depends,
|
||||
noCommandLines);
|
||||
tgt->Compute();
|
||||
|
||||
cmGeneratorTarget* gt = new cmGeneratorTarget(tgt, lg);
|
||||
mf->AddGeneratorTarget(tgt, gt);
|
||||
|
|
|
@ -86,7 +86,6 @@ void cmGlobalVisualStudioGenerator::AddExtraIDETargets()
|
|||
no_depends, no_commands, false,
|
||||
"Build all projects");
|
||||
|
||||
allBuild->Compute();
|
||||
cmGeneratorTarget* gt = new cmGeneratorTarget(allBuild, gen[0]);
|
||||
allBuild->GetMakefile()->AddGeneratorTarget(allBuild, gt);
|
||||
|
||||
|
|
|
@ -456,7 +456,6 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
|||
no_working_directory,
|
||||
"echo", "Build all projects");
|
||||
|
||||
allbuild->Compute();
|
||||
cmGeneratorTarget* allBuildGt = new cmGeneratorTarget(allbuild, root);
|
||||
mf->AddGeneratorTarget(allbuild, allBuildGt);
|
||||
|
||||
|
@ -492,7 +491,6 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
|||
no_working_directory,
|
||||
"make", "-f", file.c_str());
|
||||
|
||||
check->Compute();
|
||||
cmGeneratorTarget* checkGt = new cmGeneratorTarget(check, root);
|
||||
mf->AddGeneratorTarget(check, checkGt);
|
||||
}
|
||||
|
|
|
@ -885,8 +885,6 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget(
|
|||
/*byproducts=*/rcc_output, depends,
|
||||
commandLines, false, autogenComment.c_str());
|
||||
|
||||
autogenTarget->Compute();
|
||||
|
||||
cmGeneratorTarget* gt = new cmGeneratorTarget(autogenTarget, lg);
|
||||
makefile->AddGeneratorTarget(autogenTarget, gt);
|
||||
|
||||
|
|
|
@ -361,10 +361,6 @@ void cmTarget::SetMakefile(cmMakefile* mf)
|
|||
}
|
||||
}
|
||||
|
||||
void cmTarget::Compute()
|
||||
{
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void cmTarget::AddUtility(const std::string& u, cmMakefile *makefile)
|
||||
{
|
||||
|
|
|
@ -133,8 +133,6 @@ public:
|
|||
void AddPostBuildCommand(cmCustomCommand const &cmd)
|
||||
{this->PostBuildCommands.push_back(cmd);}
|
||||
|
||||
void Compute();
|
||||
|
||||
/**
|
||||
* Add sources to the target.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue