diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-02-19 19:25:45 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-02-19 19:25:45 (GMT) |
commit | e7ab8a0e1d7be7a3fde17f76d180a255ba44f7f1 (patch) | |
tree | b69a2c0a8bfe37353022a8fbde8ecedc52d0c509 /Source/cmMakefileTargetGenerator.cxx | |
parent | a7042f2e970e2f881b6b2c283592e770f6d1b4c9 (diff) | |
download | CMake-e7ab8a0e1d7be7a3fde17f76d180a255ba44f7f1.zip CMake-e7ab8a0e1d7be7a3fde17f76d180a255ba44f7f1.tar.gz CMake-e7ab8a0e1d7be7a3fde17f76d180a255ba44f7f1.tar.bz2 |
ENH: fixed more bugs with spaces in the path
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 6330124..19ecb7c 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -490,7 +490,11 @@ cmMakefileTargetGenerator vars.Language = lang; vars.TargetPDB = targetOutPathPDB.c_str(); vars.Source = sourceFile.c_str(); - vars.Object = relativeObj.c_str(); + std::string shellrelativeObj = + this->Convert(relativeObj.c_str(), + cmLocalGenerator::NONE, + cmLocalGenerator::SHELL).c_str(); + vars.Object = shellrelativeObj.c_str(); std::string objdir = this->LocalGenerator->GetHomeRelativeOutputPath(); objdir = this->Convert(objdir.c_str(), cmLocalGenerator::START_OUTPUT, |