diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-05-18 22:10:28 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-05-18 22:10:28 +0000 |
commit | d9d305836e1f3af1577d438642b3c1f9daba7db6 (patch) | |
tree | 8f3f167531adb63063c45929f3eab1f11ae8e442 /src/Make_mvc.mak | |
parent | d8a4e563d0827c88caea9baf97f70083737fb9c9 (diff) | |
download | vim-git-d9d305836e1f3af1577d438642b3c1f9daba7db6.tar.gz |
updated for version 7.0072
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r-- | src/Make_mvc.mak | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index de68e1983..4d4ea225e 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -296,8 +296,6 @@ OPTFLAG = /Ox !endif CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG) RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG -PDB = -LINK_PDB = ! ifdef USE_MSVCRT CFLAGS = $(CFLAGS) -MD LIBC = msvcrt.lib @@ -308,13 +306,7 @@ LIBC = libc.lib ! endif !else # DEBUG VIM = vimd -# MSVC 4.1 -PDB = /Fd$(OUTDIR)/ -LINK_PDB = /PDB:$(OUTDIR)/ -# MSVC 2.2 -# PDB = /Fd$(OUTDIR)/vim.pdb -# LINK_PDB = /PDB:$(OUTDIR)/vim.pdb -CFLAGS = $(CFLAGS) -D_DEBUG -DDEBUG /Zi /Od +CFLAGS = $(CFLAGS) -D_DEBUG -DDEBUG /Od RCFLAGS = $(rcflags) $(rcvars) -D_DEBUG -DDEBUG # The /fixed:no is needed for Quantify. Assume not 4.? as unsupported in VC4.0. ! if "$(_NMAKE_VER)" == "" @@ -620,7 +612,15 @@ FEATURES = BIG CFLAGS = $(CFLAGS) -DFEAT_$(FEATURES) # -# End extra featuare include +# Always generate the .pdb file, so that we get debug symbols that can be used +# on a crash (doesn't add overhead to the executable). +# +CFLAGS = $(CFLAGS) /Zi +PDB = /Fd$(OUTDIR)/ +LINK_PDB = /PDB:$(OUTDIR)/$(VIM).pdb -debug:full -debugtype:cv,fixup + +# +# End extra feature include # !message |