make/windows/makefiles/product.make

Print this page

        

@@ -70,10 +70,16 @@
 # The previous link command created a .manifest file that we want to
 # insert into the linked artifact so we do not need to track it
 # separately.  Use ";#2" for .dll and ";#1" for .exe:
         $(MT) /manifest $@.manifest /outputresource:$@;#2
 !endif
+!if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"
+!if "$(ZIP_DEBUGINFO_FILES)" == "1"
+        $(ZIPEXE) -q $*.diz $*.map $*.pdb
+        $(RM) $*.map $*.pdb
+!endif
+!endif
 
 !include $(WorkSpace)/make/windows/makefiles/shared.make
 !include $(WorkSpace)/make/windows/makefiles/sa.make
 !include $(WorkSpace)/make/windows/makefiles/launcher.make
 !include $(WorkSpace)/make/windows/makefiles/wb.make