[cmake-developers] C++11 and target_compiler_feature proposal

Rolf Eike Beer eike at sf-mail.de
Wed Oct 9 16:05:06 EDT 2013


Am Mittwoch, 9. Oktober 2013, 15:54:18 schrieb Brad King:
> On 10/09/2013 12:21 PM, Rolf Eike Beer wrote:
> > One thing that is currently unclear if the "simulated compiler id" stuff
> > from Brad solves the problem of the Clang plugin running with gcc where
> > one would get the gcc version as compiler version but the features are
> > actually depending on the version of the Clang plugin.
> 
> After the Clang platform files load the GNU files to get the flags
> they will have to do their own logic to populate the feature lists.
> They can pass some indicator variable into the GNU files to block
> the GNU feature lists.

The question is if that plugin situation is actually detectable. I understood 
the situation that you fixed to be a clang binary that just understands the 
other compilers arguments. In the situation I mean you have actually 2 
compilers involved.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20131009/2234ff99/attachment.sig>


More information about the cmake-developers mailing list