ref: 00e9293433a2f7eb14bcd7446a8608a493a0e502
parent: 0da712380b2474fcb8dcbde5307ff916ce2daace
author: Ethan Hugg <[email protected]>
date: Fri Jan 17 07:56:15 EST 2014
Update msvc options from VS projects.
--- a/build/platform-msvc-common.mk
+++ b/build/platform-msvc-common.mk
@@ -1,11 +1,11 @@
CXX=cl
AR=lib
CXX_O=-Fo$@
-CFLAGS += -nologo
+CFLAGS += -nologo -W3 -EHsc -fp:precise -Zc:wchar_t -Zc:forScope
CXX_LINK_O=-nologo -Fe$@
AR_OPTS=-nologo -out:$@
-CFLAGS_OPT=-O2
-CFLAGS_DEBUG=
+CFLAGS_OPT=-O2 -Ob1 -Oy- -Zi -GF -Gm- -GS -Gy -MD -DNDEBUG
+CFLAGS_DEBUG=-Od -Oy- -ZI -Gm -MDd -RTC1 -D_DEBUG
CFLAGS_M32=
CFLAGS_M64=
LINK_LIB=$(1).lib