diff options
author | Brad King <brad.king@kitware.com> | 2006-05-23 13:58:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-05-23 13:58:10 (GMT) |
commit | 15535c3f6003032bcebf2a477069c8f1df5bc394 (patch) | |
tree | 6ff06551a5c3a245a6355dad339a354e24741b3e /Source/cmMakefileTargetGenerator.cxx | |
parent | 50d058a3a1ed4fbb1a1df29ae9979d8c9812ceef (diff) | |
download | CMake-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/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 1f1bf6e..0c088d4 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -387,11 +387,14 @@ cmMakefileTargetGenerator int prog = gg->ShouldAddProgressRule(); if (prog) { + std::string progressDir = this->Makefile->GetHomeOutputDirectory(); + progressDir += "/CMakeFiles"; cmOStringStream progCmd; progCmd << "$(CMAKE_COMMAND) -E cmake_progress_report "; - progCmd << this->Makefile->GetHomeOutputDirectory(); - progCmd << "/CMakeFiles "; - progCmd << prog; + progCmd << this->LocalGenerator->Convert(progressDir.c_str(), + cmLocalGenerator::FULL, + cmLocalGenerator::SHELL); + progCmd << " " << prog; commands.push_back(progCmd.str()); this->LocalGenerator->ProgressFiles[this->Target->GetName()]. push_back(prog); |