[CMake] compiler flags visual studio

Tom Deblauwe tom.deblauwe at traficon.com
Tue Jan 24 08:33:04 EST 2012


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?

Best regards,
Tom,



More information about the CMake mailing list