How to set compile flag /bigobj in visual studio?

ragnarius picture ragnarius · Nov 22, 2011 · Viewed 27.3k times · Source

I have a cpp file that contains a huge array.

I get a fatal error (exceeded object file format limit) and the suggestion to compile with the flag /bigobj

Where do I set this flag in visual studio?

Answer

Hans Olsson picture Hans Olsson · Nov 22, 2011

On the Command Line property page as described here.