Set CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD based on selected CMAKE_CXX_STANDARD
Currently you can set CMAKE_CXX_STANDARD
and/or CMAKE_CXX_EXTENSIONS
, but these settings are not translated to the build dialect setting within Xcode generated projects. This could be achieved by setting CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD
accordingly.
It would be great if this setting could be automatically be set based on the determined other variables.