[CMake] Get Visual Studio target Arch
Alexey Petruchik
alexey.petruchik at gmail.com
Mon Sep 8 08:51:33 EDT 2014
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
On Mon, Sep 8, 2014 at 3:15 PM, Alexey Petruchik <alexey.petruchik at gmail.com
> wrote:
> 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/88009c6d/attachment.html>
More information about the CMake
mailing list