[CMake] Distinction between Windows Compilers

dravion.smith at gmx.net dravion.smith at gmx.net
Mon Nov 4 13:44:45 EST 2013


Am 04.11.2013 16:44, schrieb Mateusz Loskot:
> You could look at the compiler id and related variables:
> http://www.cmake.org/cmake/help/v2.8.12/cmake.html#variable:CMAKE_LANG_COMPILER_ID
> Right, but that's not at the generator level which is, AFAIU, what OP
> is looking for.
>
> Best regards,


Yeah. MinGW, Cygwin and Mingw-m64 are basicly GNU Compiler Toolchains on 
Windows
but only the Mingw-m64 Project is a fully featured Win64-Native 
Standalone Compiler and
can be compared to VC++  Intel ICC when it comes to native targetting Win64.

If i run  x86_64-w64-mingw32-g++.exe --version it returns  the String" 
(rubenvb-4.8.0) 4.8.0 "
Is there an way to evaluate this string to do a manual 
fingerprinting.Its ok if the Generator
is MinGW make files but inside the make process the switching to the 
diffrent GNU Windows
Target Compilers would be usefull.

Drav





More information about the CMake mailing list