Blender Git Loki

Git Commits -> Revision 518b97e

Revision 518b97e by Ray molenkamp (master)
August 25, 2021, 16:55 (GMT)
Windows/Ninja: Optimize linker performance

The /Zc:inline flag is by default off in the MSVC
compiler however when you build with msbuild it adds
it to the build flags on its own.

Ninja however does not decide on its own to add
flags you didn't ask for and was building without
this flag.

This change explicitly adds the compiler flag so
msbuild and ninja builds are once more building
with the same build flags leading to smaller .obj
files when building with ninja and lightening the
workload for the linker.

This flag is available starting MSVC 2013 update 2
so does not need to be guarded with version checks.

Commit Details:

Full Hash: 518b97e674a9e7cdc91bc4048a89eb8a8b37db0b
Parent Commit: 05564c8
Lines Changed: +2, -2

1 Modified Path:

/build_files/cmake/platform/platform_win32.cmake (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021