[CMake] Get Visual Studio target Arch

Alexey Petruchik alexey.petruchik at gmail.com
Mon Sep 8 08:15:36 EDT 2014


I dont want to go dirty way with if ("${CMAKE_GENERATOR}" STREQUAL ...)


On Sat, Sep 6, 2014 at 5:02 PM, Alexey Petruchik <alexey.petruchik at gmail.com
> wrote:

> I want to use different library folders for x64/x86/arm architectures.
> Cmake has different generators for each arch: "Visual Studio 12
> 2013", "Visual Studio 12 2013 ARM", "Visual Studio 12 2013 Win64". Is there
> any cmake var to get visual studio target arch? CMAKE_SYSTEM_PROCESSOR is
> always AMD64 for me no matter what generator I'm using.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140908/8780c288/attachment.html>


More information about the CMake mailing list