Skip to content

Commit

Permalink
Add /Zi flag to cl.exe when creating PDB files
Browse files Browse the repository at this point in the history
It is needed even on non-debug mode.
  • Loading branch information
k-takata committed Apr 30, 2017
1 parent a905fc8 commit a3369d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mk_mvc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ INCLUDES = $(INCLUDES) -I$(ICONV_DIR)/include

!ifdef DEBUG
DEFINES = $(DEFINES) -DDEBUG
OPT = $(OPT) /Zi
PDB = yes
!endif

!ifdef PDB
OPT = $(OPT) /Zi
PDBFLAG = /debug
!else
PDBFLAG =
Expand Down

0 comments on commit a3369d3

Please sign in to comment.