Don't build all object files with -ZW, only the one that needs it

This reduces the build time from 69 s to 30 s, reduces the size of
the built wels.lib from 30 MB to 3.9 MB, and reduces the number of
warnings when building wels.lib.
This commit is contained in:
Martin Storsjö 2014-04-29 11:03:17 +03:00
parent c27c02bc0a
commit 239f42a924

View File

@ -3,6 +3,8 @@ include build/platform-msvc-common.mk
CFLAGS_OPT += -MD
CFLAGS_DEBUG += -MDd
CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
CXXFLAGS += -ZW
CXXFLAGS +=
LDFLAGS +=
codec/common/src/WelsThreadLib.$(OBJ): CXXFLAGS += -ZW