summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/templates/vc7.mpd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/MakeProjectCreator/templates/vc7.mpd')
-rw-r--r--bin/MakeProjectCreator/templates/vc7.mpd9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/MakeProjectCreator/templates/vc7.mpd b/bin/MakeProjectCreator/templates/vc7.mpd
index dc5fbdaab4e..436c5e38329 100644
--- a/bin/MakeProjectCreator/templates/vc7.mpd
+++ b/bin/MakeProjectCreator/templates/vc7.mpd
@@ -57,12 +57,18 @@
<Tool
Name="VCCustomBuildTool"/>
<Tool
+<%if(type_is_static)%>
+ Name="VCLibrarianTool"
+<%if(staticname)%>
+ OutputFile="$(OutDir)/<%staticname%><%lib_modifier%>.lib"
+<%endif%>
+<%else%>
Name="VCLinkerTool"
<%if(type_is_binary)%>
AdditionalDependencies="<%foreach(lit_libs)%><%lit_lib%>.lib <%endfor%><%foreach(libs defaultlibs)%><%lib%><%lib_modifier%>.lib<%fornotlast(" ")%><%endfor%>"
<%endif%>
<%if(exename || sharedname || staticname)%>
- OutputFile="$(OutDir)/<%if(type_is_dynamic)%><%sharedname%><%lib_modifier%>.dll<%else%><%if(type_is_static)%><%staticname%><%lib_modifier%>.lib<%else%><%exename%>.exe<%endif%><%endif%>"
+ OutputFile="$(OutDir)/<%if(type_is_dynamic)%><%sharedname%><%lib_modifier%>.dll<%else%><%exename%>.exe<%endif%>"
<%endif%>
Version="<%version("1.0")%>"
LinkIncremental="<%LinkIncremental("1")%>"
@@ -86,6 +92,7 @@
<%if(type_is_dynamic)%>
ImportLibrary="$(OutDir)/<%sharedname%><%lib_modifier%>.lib"
<%endif%>
+<%endif%>
/>
<Tool
Name="VCMIDLTool"/>