[CMake] Distinction between Windows Compilers
Mateusz Loskot
mateusz at loskot.net
Mon Nov 4 10:44:35 EST 2013
On 4 November 2013 15:38, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> On 11/4/2013 10:21 AM, Mateusz Loskot wrote:
>>
>> I don't care about MinGW/Cygwin myself, but AFAIR, there is no
>> detection mechanism
>> for those, only -m64 flag juggling.
>
> 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,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the CMake
mailing list