Browse Source

bug fix for vs6 custom commands

Bill Hoffman 22 years ago
parent
commit
5be2ec1d47
1 changed files with 3 additions and 3 deletions
  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