diff options
author | Petr Kmoch <petr.kmoch@gmail.com> | 2013-03-21 14:53:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-04-12 15:35:35 (GMT) |
commit | de8be9ef7d019023099d28a1f797698ed7b598bd (patch) | |
tree | 1d52ce4dfbec1746b56b82fb131b5c9d03cdd586 /Source/cmBuildCommand.cxx | |
parent | 674f918a1afbf1808328bac944aa8944f2475fe9 (diff) | |
download | CMake-de8be9ef7d019023099d28a1f797698ed7b598bd.zip CMake-de8be9ef7d019023099d28a1f797698ed7b598bd.tar.gz CMake-de8be9ef7d019023099d28a1f797698ed7b598bd.tar.bz2 |
Add projectDir parameter to GenerateBuildCommand
Extend the cmGlobalGenerator::GenerateBuildCommand virtual method
signature with a "projectDir" parameter specifying the top of the
project build tree for which the build command will be generated.
Populate it from call sites in cmGlobalGenerator::Build where a
fully-generated build tree should be available.
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r-- | Source/cmBuildCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx index 91d55a5..b6e2569 100644 --- a/Source/cmBuildCommand.cxx +++ b/Source/cmBuildCommand.cxx @@ -122,7 +122,7 @@ bool cmBuildCommand // std::string makecommand = this->Makefile->GetLocalGenerator() ->GetGlobalGenerator()->GenerateBuildCommand - (makeprogram, project_name, 0, target, configuration, true, false); + (makeprogram, project_name, 0, 0, target, configuration, true, false); this->Makefile->AddDefinition(variable, makecommand.c_str()); @@ -153,7 +153,7 @@ bool cmBuildCommand std::string makecommand = this->Makefile->GetLocalGenerator() ->GetGlobalGenerator()->GenerateBuildCommand - (makeprogram.c_str(), this->Makefile->GetProjectName(), 0, + (makeprogram.c_str(), this->Makefile->GetProjectName(), 0, 0, 0, configType.c_str(), true, false); if(cacheValue) |