[CMake] Problems with renamed CMake Generators

NoRulez norulez at me.com
Thu Jan 23 08:51:46 EST 2014


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 <norulez at me.com>:
> 
> 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 www.kitware.com
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list