[cmake-developers] C++11 and target_compiler_feature proposal
Brad King
brad.king at kitware.com
Fri Oct 11 14:14:34 EDT 2013
On 10/11/2013 02:04 PM, Sean McBride wrote:
> On Fri, 11 Oct 2013 13:56:23 -0400, Brad King said:
>> No, sorry. What does "combined gcc+clang" mean?
>
> He's probably referring to so-called 'llvm-gcc':
Ah, thanks Sean. The machines are at least:
* dashmacmini4 has Xcode 3.2 with llvm-gcc-4.2:
#define __GNUC__ 4
#define __GNUC_MINOR__ 2
#define __GNUC_PATCHLEVEL__ 1
#define __APPLE_CC__ 5646
#define __llvm__ 1
* dashmacmini5 has Xcode 4.1 with llvm-gcc-4.2:
#define __GNUC__ 4
#define __GNUC_MINOR__ 2
#define __GNUC_PATCHLEVEL__ 1
#define __APPLE_CC__ 5658
#define __llvm__ 1
They do not define __clang__, and CMake's compiler id detection
does not pay attention to __llvm__. I do not know what feature
sets they support, but it is probably safe to assume GNU 4.2.1
feature support at least.
-Brad
More information about the cmake-developers
mailing list