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:
parent
c27c02bc0a
commit
239f42a924
@ -3,6 +3,8 @@ include build/platform-msvc-common.mk
|
|||||||
CFLAGS_OPT += -MD
|
CFLAGS_OPT += -MD
|
||||||
CFLAGS_DEBUG += -MDd
|
CFLAGS_DEBUG += -MDd
|
||||||
CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
|
CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
|
||||||
CXXFLAGS += -ZW
|
CXXFLAGS +=
|
||||||
LDFLAGS +=
|
LDFLAGS +=
|
||||||
|
|
||||||
|
codec/common/src/WelsThreadLib.$(OBJ): CXXFLAGS += -ZW
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user