Explorar el Código

bug fix for vs6 custom commands

Bill Hoffman hace 22 años
padre
commit
5be2ec1d47
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      Source/cmLocalVisualStudio6Generator.cxx

+ 3 - 3
Source/cmLocalVisualStudio6Generator.cxx

@@ -626,7 +626,7 @@ cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target,
     if (!init)
       {
       // header stuff
-      customRuleCode = "PreLink_Cmds=";
+      customRuleCode += "PreLink_Cmds=";
       init = true;
       }
     else
@@ -645,7 +645,7 @@ cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target,
     if (!init)
       {
       // header stuff
-      customRuleCode = "PreLink_Cmds=";
+      customRuleCode += "PreLink_Cmds=";
       init = true;
       }
     else
@@ -666,7 +666,7 @@ cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target,
     if (!init)
       {
       // header stuff
-      customRuleCode = "PostBuild_Cmds=";
+      customRuleCode += "PostBuild_Cmds=";
       init = true;
       }
     else