Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread dravion.sm...@gmx.net
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. Mi

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Mateusz Loskot
On 4 November 2013 15:38, Bill Hoffman 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.

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Bill Hoffman
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_COMP

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Mateusz Loskot
On 4 November 2013 15:16, dravion.sm...@gmx.net wrote: > Am 04.11.2013 16:09, schrieb Mateusz Loskot: >> >> On 4 November 2013 14:45, dravion.sm...@gmx.net >> wrote: >>> >>> Hi, >>> >>> Is there an Way to choose diffrent Windows Compilers Versions for (Win64 >>> and Win32)? >> >> >> http://cmake

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread dravion.sm...@gmx.net
Am 04.11.2013 16:09, schrieb Mateusz Loskot: On 4 November 2013 14:45, dravion.sm...@gmx.net wrote: Hi, Is there an Way to choose diffrent Windows Compilers Versions for (Win64 and Win32)? http://cmake.org/cmake/help/v2.8.12/cmake.html#section_Generators """ It is possible to append a spac

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Mateusz Loskot
On 4 November 2013 14:45, dravion.sm...@gmx.net wrote: > Hi, > > Is there an Way to choose diffrent Windows Compilers Versions for (Win64 > and Win32)? http://cmake.org/cmake/help/v2.8.12/cmake.html#section_Generators """ It is possible to append a space followed by the platform name to create

[CMake] Distinction between Windows Compilers

2013-11-04 Thread dravion.sm...@gmx.net
Hi, Is there an Way to choose diffrent Windows Compilers Versions for (Win64 and Win32)? For Example: If i want to do a Windows 64-Bit build build cmake should use: x86_64-w64-mingw32-g++.exe (but not Cygwin and NOT Mingw/Msys) OR Visual C/C++ Win64 Compiler If i want to do a Window