[CMake] Get Visual Studio target Arch

Hendrik Sattler post at hendrik-sattler.de
Mon Sep 8 08:31:06 EDT 2014


Hi,

I'm also interested in an answer to this question. IMHO the definition of CMAKE_SYSTEM_PROCESSOR is broken for Visual Studio generators although it matches the help entry.

HS


On 6. September 2014 16:02:56 MESZ, 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.
>
>
>------------------------------------------------------------------------
>
>-- 
>
>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://public.kitware.com/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140908/c8e41beb/attachment.html>


More information about the CMake mailing list