compiler.pri: increase MSVC PCH heap to up to 150MB (-Zm).

I was unable to build Mumble against our new Qt 5 build
environment without this.
This commit is contained in:
Mikkel Krautz 2015-09-19 18:49:59 +02:00
parent 492293bae1
commit 0f2c07c8d1

View File

@ -45,6 +45,10 @@ win32 {
error("The INCLUDE environment variable is not set. Are you not in a build environment?")
}
# Increase PCH heap to 150MB: https://msdn.microsoft.com/en-us/library/bdscwf1c.aspx
QMAKE_CFLAGS *= -Zm200
QMAKE_CXXFLAGS *= -Zm200
QMAKE_CFLAGS_RELEASE *= -Ox /fp:fast
QMAKE_CXXFLAGS_RELEASE *= -Ox /fp:fast