Shisho_Sama:

is it because this is built statically and I built it dynamically?


I guess the way you try to build for /MT only enables some of the part into /MT. Because some of the flags relies on BUILD_SHARED_LIBS.



 Shisho_Sama:

how come this is 2GB!


Yes, in my memory it is just that big. That’s definitely an issue. But we don’t have time to optimize it. Generally speaking, static libs will be larger than the dynamic libs because all dependencies will be added to the static lib when linking (since /WHOLEARCHIVE is used).