It seems that CMake simply transparently sets any attribute that you set in the Xcode project file, so it supports any attributes that you like.
When checking one of my GCC_VERSION project files, the attribute you need looks like GCC_VERSION , and these are valid values (my Xcode is 4.0.2, gcc v4.2).
GCC_VERSION = com.apple.compilers.llvm.clang.1_0; GCC_VERSION = 4.2 GCC_VERSION = com.apple.compilers.llvmgcc42
The documentation of My CMake seems to suggest that you want to set XCODE_ATTRIBUTE_X not CMAKE_XCODE_ATTRIBUTE_X either.
James source share