On 07/08/2015 02:35 PM, Stephen Kelly wrote:
> "Since Apple is the only vendor implementing the language
> right now, the compiler id can be just `Apple`."

Even if another vendor implements it the one we're identifying
will still be provided by "Apple".  The above wording was poor.

> 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.

-Brad

-- 

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