Просмотр исходного кода

fix for long lines with post build rules

Ken Martin 22 лет назад
Родитель
Сommit
cb2b5a188a
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      Source/cmLocalVisualStudio6Generator.cxx

+ 3 - 3
Source/cmLocalVisualStudio6Generator.cxx

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