Port to cmMakefile::GetGlobalGenerator.

This commit is contained in:
Stephen Kelly
2015-05-03 11:10:30 +02:00
parent cbf143bb76
commit a0836ed978
25 changed files with 86 additions and 122 deletions
+4 -6
View File
@@ -105,9 +105,8 @@ bool cmBuildCommand
"Ignoring PROJECT_NAME option because it has no effect.");
}
std::string makecommand = this->Makefile->GetLocalGenerator()
->GetGlobalGenerator()->GenerateCMakeBuildCommand(target, configuration,
"", true);
std::string makecommand = this->Makefile->GetGlobalGenerator()
->GenerateCMakeBuildCommand(target, configuration, "", true);
this->Makefile->AddDefinition(variable, makecommand.c_str());
@@ -135,9 +134,8 @@ bool cmBuildCommand
configType = cfg;
}
std::string makecommand = this->Makefile->GetLocalGenerator()
->GetGlobalGenerator()->GenerateCMakeBuildCommand("", configType,
"", true);
std::string makecommand = this->Makefile->GetGlobalGenerator()
->GenerateCMakeBuildCommand("", configType, "", true);
if(cacheValue)
{