Merge topic 'minor-cleanups'

22d09ecf cmLocalGenerator: Remove ConfigureFinalPass.
821a711b project(): Remove unused variable.
This commit is contained in:
Brad King 2015-06-11 13:16:16 -04:00 committed by CMake Topic Stage
commit 71d5245990
4 changed files with 1 additions and 12 deletions

View File

@ -1540,7 +1540,7 @@ void cmGlobalGenerator::CheckLocalGenerators()
cmState* state = this->GetCMakeInstance()->GetState();
for (unsigned int i = 0; i < this->LocalGenerators.size(); ++i)
{
this->LocalGenerators[i]->ConfigureFinalPass();
this->LocalGenerators[i]->GetMakefile()->ConfigureFinalPass();
cmTargets &targets =
this->LocalGenerators[i]->GetMakefile()->GetTargets();
for (cmTargets::iterator l = targets.begin();

View File

@ -113,11 +113,6 @@ void cmLocalGenerator::ComputeObjectMaxPath()
this->ObjectMaxPathViolations.clear();
}
void cmLocalGenerator::ConfigureFinalPass()
{
this->Makefile->ConfigureFinalPass();
}
void cmLocalGenerator::TraceDependencies()
{
std::vector<std::string> configs;

View File

@ -54,11 +54,6 @@ public:
virtual void AddHelperCommands() {}
/**
* Perform any final calculations prior to generation
*/
void ConfigureFinalPass();
/**
* Generate the install rules files in this directory.
*/

View File

@ -233,7 +233,6 @@ bool cmProjectCommand
const char* include = this->Makefile->GetDefinition(extraInclude);
if(include)
{
std::string fullFilePath;
bool readit =
this->Makefile->ReadDependentFile(include);
if(!readit && !cmSystemTools::GetFatalErrorOccured())