Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.4, 5.1.0
-
None
-
Win7 x64, VS 2010
-
7c3efdfb6ad72955543128a5a13e3f45ef3ee7af
Description
Without any /Z* option in CXX_FLAGS the generated Visual Studio project files don't contain a <DebugInformationFormat> tag.
VS uses /Zi as a default then, which is pretty bad on its own as that's even a lot slower than /Z7.
There's no way to explicitly disable it.
VCProjectWriter::write uses disabled by default, but VCXProjectWriter omits the tag. In the 5.1 version of toString(debugOption) you even added debugUnknown and debugDisabled cases, but with the same result.
I was able to hack it in by returning " " for debugDisabled instead of QString() which results in '<DebugInformationFormat> </DebugInformationFormat>'.