[CMake] Get Visual Studio target Arch

Nils Gladitz nilsgladitz at gmail.com
Mon Sep 8 09:01:18 EDT 2014


On 09/08/2014 02:51 PM, Alexey Petruchik wrote:
> There are also CMAKE_CL_64\CMAKE_FORCE_WIN64\CMAKE_FORCE_IA64 vars. But
> it seems to be a x64-only hack not a good generic solution

There seem to be MSVC_C_ARCHITECTURE_ID and MSVC_CXX_ARCHITECTURE_ID 
though given that I don't see them documented they are probably 
considered internal.

Nils


More information about the CMake mailing list