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.mpd2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/MakeProjectCreator/templates/vc7.mpd b/bin/MakeProjectCreator/templates/vc7.mpd
index 4d3eae5a2d2..dc5fbdaab4e 100644
--- a/bin/MakeProjectCreator/templates/vc7.mpd
+++ b/bin/MakeProjectCreator/templates/vc7.mpd
@@ -78,9 +78,11 @@
<%endif%>
SubSystem="<%subsystem("1")%>"
<%if(!debug)%>
+<%if(optimize)%>
OptimizeReferences="<%optref("2")%>"
EnableCOMDATFolding="<%opticf("2")%>"
<%endif%>
+<%endif%>
<%if(type_is_dynamic)%>
ImportLibrary="$(OutDir)/<%sharedname%><%lib_modifier%>.lib"
<%endif%>