diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 09:10:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-03 09:42:00 (GMT) |
commit | a0836ed97804952ace98d2c1d0d46e968a532a3c (patch) | |
tree | 11c3a118fb30c8cf6eb41eca2898251197edadeb /Source/cmBuildCommand.cxx | |
parent | cbf143bb76604f576275d96a1e1e4c701680ff29 (diff) | |
download | CMake-a0836ed97804952ace98d2c1d0d46e968a532a3c.zip CMake-a0836ed97804952ace98d2c1d0d46e968a532a3c.tar.gz CMake-a0836ed97804952ace98d2c1d0d46e968a532a3c.tar.bz2 |
Port to cmMakefile::GetGlobalGenerator.
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r-- | Source/cmBuildCommand.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx index cdca792..988e9a7 100644 --- a/Source/cmBuildCommand.cxx +++ b/Source/cmBuildCommand.cxx @@ -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) { |