Ninja generation missing /Zc:inline compiler flag on windows for Release builds
Ninja files generated by CMake on windows is missing /Zc:inline
compiler flag in Release mode.
/Zc:inline
(documented here) impacts the size of the output.
When generating .sln
files, this flag is turned on in Release mode by default.
This default should be available for the Ninja file generation as well!