title: Globally set compiler flags (/Zm memory limit)
body: <p>When compiling some complicated templates, I sometimes get:</p>
  
  <blockquote>
    <p>fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit</p>
  </blockquote>
  
  <p>I know that I can go to project settings and specify e.g. <code>/Zm500</code> to give the compiler more memory (more info on <code>/Zm</code> can be found <a href="http://msdn.microsoft.com/en-us/library/bdscwf1c.aspx" rel="noreferrer">here</a>). It is however quite cumbersome and I would prefer setting a default limit globally. Is there any way to do it?</p>
  
  <p>Alternately, is there any way to specify this particular flag using a pragma or other annotation of the source file? That way it would also be portable accross machines with potentially different settings.</p>
  
  <p>I'm using Visual Studio 2008, if it also worked in Visual C++ 6.0, I wouldn't mind.</p>