开发者

Visual Studio C++ compiler flag: what is -Zm200?

开发者 https://www.devze.com 2022-12-19 19:18 出处:网络
I开发者_JAVA百科 use Qt for C++ development, and today I produced a .vcproj file from a .pro file.

I开发者_JAVA百科 use Qt for C++ development, and today I produced a .vcproj file from a .pro file.

I noticed under the vcproj project properties, Qt added this flag into the C/C++ -> Command Line -> Additional Options

-Zm200 

What is -Zm200?


-Zm is Specify Precompiled Header Memory Limit (more info here). It limits the amount of memory the compiler can allocate for processing precompiled headers. For Visual C++ 2008, -Zm200 means limit to 150 MB.


This limits the maximum heap size for the compiler according to this article. So this doesn't affect your program at all

0

精彩评论

暂无评论...
验证码 换一张
取 消