bkaradzic / GENie

GENie - Project generator tool
Other
890 stars 167 forks source link

How to config "C++ Language Dialect" option of XCode? #369

Closed ntsjun closed 6 years ago

ntsjun commented 6 years ago

Hi. I've tried configuration {"C++","gcc"} buildoptions { "-std=c++11", } and configuration {"C++","gcc"} flags("Cpp11") But it seems no effect in xcode. What should I do ?

bkaradzic commented 6 years ago

See here: https://github.com/bkaradzic/bx/blob/e1fa528659774dcbd088e16e53b4090500b9da82/scripts/toolchain.lua#L1045

There are also flags Cpp11, Cpp14, etc. but currently not supported by Xcode.

ntsjun commented 6 years ago

Thanks.