[CMake] compiler flags visual studio

John Drescher drescherjm at gmail.com
Tue Jan 24 09:16:59 EST 2012


On Tue, Jan 24, 2012 at 8:33 AM, Tom Deblauwe <tom.deblauwe at traficon.com> wrote:
> Hello,
>
> What compiler flags do you need to enable if you want to use the possibility
> to have something like this in your code:
>
> char Image[width(), height()];
>
> This worked before with my compiler(visual studio 2005) but not with the
> cmake generated project. It complains about expecting a constant expression.
> Anybody knows?
>

No compiler flags support that.

John


More information about the CMake mailing list