Browse Source

fix for long lines with post build rules

Ken Martin 22 years ago
parent
commit
cb2b5a188a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/cmLocalVisualStudio6Generator.cxx

+ 3 - 3
Source/cmLocalVisualStudio6Generator.cxx

@@ -664,7 +664,7 @@ cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target,
       }
     else
       {
-      customRuleCode += "\t";
+      customRuleCode += "\\\n\t";
       }
     customRuleCode += this->ConvertToRelativeOutputPath(cc.GetCommand().c_str()) + " " + cc.GetArguments();
     }
@@ -683,7 +683,7 @@ cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target,
       }
     else
       {
-      customRuleCode += "\t";
+      customRuleCode += "\\\n\t";
       }
     customRuleCode += this->ConvertToRelativeOutputPath(cc.GetCommand().c_str()) + " " + cc.GetArguments();
     }
@@ -704,7 +704,7 @@ cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target,
       }
     else
       {
-      customRuleCode += "\t";
+      customRuleCode += "\\\n\t";
       }
     customRuleCode += 
       this->ConvertToRelativeOutputPath(cc.GetCommand().c_str()) +