Re: [CMake] Problems with renamed CMake Generators

2014-01-23 Thread NoRulez
I know I can use CMAKE_CL_64 to detect 32/64 bit and MSVC12 if the Visual Studio 2013 generator is used. But what about other compilers/IDEs? Am 23.01.2014 um 08:19 schrieb NoRulez noru...@me.com: Hello, at the moment I test with if(${CMAKE_GENERATOR} STREQUAL Visual Studio 12) in

Re: [CMake] Problems with renamed CMake Generators

2014-01-23 Thread Nils Gladitz
On 01/23/2014 02:51 PM, NoRulez wrote: I know I can use CMAKE_CL_64 to detect 32/64 bit and MSVC12 if the Visual Studio 2013 generator is used. I use CMAKE_SIZEOF_VOID_P which is 8 for 64-bit and 4 for 32-bit builds. Nils -- Powered by www.kitware.com Please keep messages on-topic and

[CMake] Problems with renamed CMake Generators

2014-01-22 Thread NoRulez
Hello, at the moment I test with if(${CMAKE_GENERATOR} STREQUAL Visual Studio 12) in the upcoming release of CMake this string has changed. So, is there an other way to test for generators and if a generator is called for 32/64bit? Thanks in advance Best Regardsn -- Powered by