[cmake-developers] Adding Swift support to CMake

Brad King brad.king at kitware.com
Wed Jul 8 15:10:01 EDT 2015


On 07/08/2015 03:04 PM, Stephen Kelly wrote:
> I guess. I think part of the reason it seems wrong to me is that there is a 
> platform id called 'APPLE' (different case) and a variable of that name
> 
> There is also an existing GNU platorm/compiler id (same case).
> 
> If the same name is to be used, is there any reason not to use the same 
> case?

All compiler id values use CamelCase or are acronyms.  The variable
named "APPLE" is historical and meant to match the __APPLE__
preprocessor macro.  Compiler id values are different.

What do you think of Ben's "AppleSwift" suggestion?

-Brad



More information about the cmake-developers mailing list