Browse Source

Enable PCH for both builds

/Zi is needed for PCH as well as PDB, since it dosn't change the
resulting exe and can speed up build time a lot this switches it on for
all builds
pull/4/head
Anders Jenbo 8 years ago committed by Dennis Duda
parent
commit
cbf08f290e
  1. 3
      MakefileVC

3
MakefileVC

@ -31,12 +31,11 @@ else
VC6_LINK = wine $(VC6_BIN_DIR)/link.exe
endif
CFLAGS=/nologo /c /GX /W3 /O1 /I $(VC6_INC_DIR) /FD /MT /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fp"Diablo.pch" /YX /Gm
CFLAGS=/nologo /c /GX /W3 /O1 /I $(VC6_INC_DIR) /FD /MT /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fp"Diablo.pch" /YX /Gm /Zi
LINKFLAGS=/nologo /subsystem:windows /machine:I386 /incremental:no
ifeq ($(MAKE_BUILD),pdb)
VC_LINK = $(VC6_LINK)
CFLAGS += /Zi
LINKFLAGS += /pdb:"Diablo.pdb" /LIBPATH:$(VC6_LIB_DIR) /debug
else
VC_LINK=$(VC5_LINK)

Loading…
Cancel
Save