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.petruc...@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.petruc...@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

Reply via email to