BUG: fix for spaces in path for nmake

This commit is contained in:
Ken Martin 2007-02-19 12:26:32 -05:00
parent 83b5890a2f
commit 314f5f60a0
2 changed files with 2 additions and 2 deletions

View File

@ -827,7 +827,7 @@ cmLocalUnixMakefileGenerator3::GetRelativeTargetDirectory(cmTarget& target)
{ {
std::string dir = this->HomeRelativeOutputPath; std::string dir = this->HomeRelativeOutputPath;
dir += this->GetTargetDirectory(target); dir += this->GetTargetDirectory(target);
return this->Convert(dir.c_str(),NONE,MAKEFILE); return this->Convert(dir.c_str(),NONE,UNCHANGED);
} }

View File

@ -1077,7 +1077,7 @@ void cmMakefileTargetGenerator::WriteTargetDriverRule(const char* main_output,
buildTargetRuleName += relink?"/preinstall":"/build"; buildTargetRuleName += relink?"/preinstall":"/build";
buildTargetRuleName = this->Convert(buildTargetRuleName.c_str(), buildTargetRuleName = this->Convert(buildTargetRuleName.c_str(),
cmLocalGenerator::HOME_OUTPUT, cmLocalGenerator::HOME_OUTPUT,
cmLocalGenerator::MAKEFILE); cmLocalGenerator::UNCHANGED);
// Build the list of target outputs to drive. // Build the list of target outputs to drive.
std::vector<std::string> depends; std::vector<std::string> depends;