Brad King wrote:

>> This seems somehow wrong. Naming it based on some state 'right now'
>> doesn't seem future proof. The 'MSVC' compiler id is not called
>> 'Microsoft', the 'QCC' compiler id is not called 'QNX', 'XL' is not
>> called 'IBM'.
> 
> The PGI compiler id is "PGI".  The PathScale compiler id is "PathScale".
> The TI compiler id is "TI".  The GNU compiler id is "GNU".  The Cray
> compiler id is "Cray".  The Absoft compiler id is "Absoft".  There is
> plenty of precedent to use the vendor name.

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?

Thanks,

Steve.


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to