summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-05-23 13:58:10 (GMT)
committerBrad King <brad.king@kitware.com>2006-05-23 13:58:10 (GMT)
commit15535c3f6003032bcebf2a477069c8f1df5bc394 (patch)
tree6ff06551a5c3a245a6355dad339a354e24741b3e /Source/cmLocalUnixMakefileGenerator3.cxx
parent50d058a3a1ed4fbb1a1df29ae9979d8c9812ceef (diff)
downloadCMake-15535c3f6003032bcebf2a477069c8f1df5bc394.zip
CMake-15535c3f6003032bcebf2a477069c8f1df5bc394.tar.gz
CMake-15535c3f6003032bcebf2a477069c8f1df5bc394.tar.bz2
BUG: Fix for spaces in path to build directory with new progress stuff.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx20
1 files changed, 12 insertions, 8 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index e2d3f89..a4b1739 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1410,12 +1410,14 @@ void cmLocalUnixMakefileGenerator3
if (!this->Parent)
{
- cmGlobalUnixMakefileGenerator3 *gg =
- static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
+ std::string progressDir = this->Makefile->GetHomeOutputDirectory();
+ progressDir += "/CMakeFiles";
cmOStringStream progCmd;
progCmd << "$(CMAKE_COMMAND) -E cmake_progress_start ";
- progCmd << this->Makefile->GetHomeOutputDirectory();
- progCmd << "/CMakeFiles 100";
+ progCmd << this->Convert(progressDir.c_str(),
+ cmLocalGenerator::FULL,
+ cmLocalGenerator::SHELL);
+ progCmd << " 100";
commands.push_back(progCmd.str());
}
@@ -1426,12 +1428,14 @@ void cmLocalUnixMakefileGenerator3
this->Makefile->GetStartOutputDirectory());
if (!this->Parent)
{
- cmGlobalUnixMakefileGenerator3 *gg =
- static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
+ std::string progressDir = this->Makefile->GetHomeOutputDirectory();
+ progressDir += "/CMakeFiles";
cmOStringStream progCmd;
progCmd << "$(CMAKE_COMMAND) -E cmake_progress_start ";
- progCmd << this->Makefile->GetHomeOutputDirectory();
- progCmd << "/CMakeFiles 0";
+ progCmd << this->Convert(progressDir.c_str(),
+ cmLocalGenerator::FULL,
+ cmLocalGenerator::SHELL);
+ progCmd << " 0";
commands.push_back(progCmd.str());
}
this->WriteMakeRule(ruleFileStream, "The main all target", "all",