[cmake-developers] Suspicious Clang versions
Brad King
brad.king at kitware.com
Mon Aug 5 09:19:09 EDT 2013
On 08/05/2013 02:08 AM, Rolf Eike Beer wrote:
> sean at rogue-research.com wrote:
>> very confusingly, Apple uses their own version numbering scheme. So
>> that's "Apple clang 4.0". It comes with whatever version of Xcode that
>> machine's running (4.4 I think?).
>
> any version checking like I do in the CXXFeatures test is entirely mood for Clang.
We need to fix this somehow or CMAKE_*_COMPILER_VERSION will be
useless for Clang. Sean, is there any way to extract the underlying
Clang version, perhaps with different preprocessor macros? We at
least need to be able to detect which version scheme is in use so
we can report it somehow.
Thanks,
-Brad
More information about the cmake-developers
mailing list