ENH: fix failing tests on mac

This commit is contained in:
Bill Hoffman 2006-09-29 16:14:34 -04:00
parent 28921d907f
commit 21f3a18bee
1 changed files with 6 additions and 3 deletions

View File

@ -954,7 +954,6 @@ cmGlobalXCodeGenerator::AddCommandsToBuildPhase(cmXCodeObject* buildphase,
} }
} }
makefileStream << "\n\n"; makefileStream << "\n\n";
for(std::vector<cmCustomCommand>::const_iterator i = commands.begin(); for(std::vector<cmCustomCommand>::const_iterator i = commands.begin();
i != commands.end(); ++i) i != commands.end(); ++i)
{ {
@ -963,8 +962,12 @@ cmGlobalXCodeGenerator::AddCommandsToBuildPhase(cmXCodeObject* buildphase,
{ {
bool escapeOldStyle = cc.GetEscapeOldStyle(); bool escapeOldStyle = cc.GetEscapeOldStyle();
bool escapeAllowMakeVars = cc.GetEscapeAllowMakeVars(); bool escapeAllowMakeVars = cc.GetEscapeAllowMakeVars();
makefileStream << "\n#" << "Custom command rule: " << makefileStream << "\n#" << "Custom command rule: ";
cc.GetComment() << "\n"; if(cc.GetComment())
{
makefileStream << cc.GetComment();
}
makefileStream << "\n";
const std::vector<std::string>& outputs = cc.GetOutputs(); const std::vector<std::string>& outputs = cc.GetOutputs();
if(!outputs.empty()) if(!outputs.empty())
{ {