The /Zc:inline switch enforces C++11 rules on inline visibility which reduces redundant comdats in each OBJ file (i.e. all the DirectXMath inline functions you didn't call in that translation unit). This switch is on by default with MSBuild, but is not on by default for command-line builds. This update adds this switch to CMake builds as well.
This reduces the size of the Release obj/lib files in half.
There's also a /Zc:lambda conformance switch for VS 2019 16.8 or later which I'm enabling for coverage.
The
/Zc:inline
switch enforces C++11 rules on inline visibility which reduces redundant comdats in each OBJ file (i.e. all the DirectXMath inline functions you didn't call in that translation unit). This switch is on by default with MSBuild, but is not on by default for command-line builds. This update adds this switch to CMake builds as well.This reduces the size of the Release obj/lib files in half.
There's also a
/Zc:lambda
conformance switch for VS 2019 16.8 or later which I'm enabling for coverage.