Re: [CMake] Get Visual Studio target Arch

2014-09-18 Thread Gilles Khouzam
Hi Alexey I’ve updated our installers to get installed in CMakeMS instead of CMake, this allows you to run both side by side. If you want to rename the executable to be CMakeMS.exe, you can, I just felt that for people relying on scripts, this could be a hard change to take. ~Gilles -- Pow

Re: [CMake] Get Visual Studio target Arch

2014-09-17 Thread Alexey Petruchik
> Looking forward to being able to help more. > > Gilles Khouzam > Senior Development Lead > Microsoft OSG > > -Original Message- > From: David Cole [mailto:dlrd...@aol.com] > Sent: Tuesday, September 16, 2014 03:37 > To: alexey.petruc...@gmail.com; Gilles Khouzam >

Re: [CMake] Get Visual Studio target Arch

2014-09-16 Thread Gilles Khouzam
.@aol.com] Sent: Tuesday, September 16, 2014 03:37 To: alexey.petruc...@gmail.com; Gilles Khouzam Cc: cmake@cmake.org Subject: Re: [CMake] Get Visual Studio target Arch > I still cant really make some arch specific ifdefs in my cmake scripts > using this approach. That's the point of a mul

Re: [CMake] Get Visual Studio target Arch

2014-09-16 Thread David Cole via CMake
> I still cant really make some arch specific ifdefs in my cmake > scripts using this approach. That's the point of a multi-configuration, multi-architecture Visual Studio solution: you defer choosing the configuration *and* the architecture until build time. No "CMake time" decisions are possib

Re: [CMake] Get Visual Studio target Arch

2014-09-15 Thread Alexey Petruchik
e.org] On Behalf Of Gregor Jasny > Sent: Monday, September 8, 2014 12:06 > To: cmake@cmake.org; Alexey Petruchik > Subject: Re: [CMake] Get Visual Studio target Arch > > On 06/09/14 16:02, Alexey Petruchik wrote: > > I want to use different library folders for x64/x86/arm archite

Re: [CMake] Get Visual Studio target Arch

2014-09-11 Thread Gilles Khouzam
eptember 8, 2014 12:06 To: cmake@cmake.org; Alexey Petruchik Subject: Re: [CMake] Get Visual Studio target Arch On 06/09/14 16:02, Alexey Petruchik wrote: > I want to use different library folders for x64/x86/arm architectures. > Cmake has different generators for each arch: "Visual Studio

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Gregor Jasny
On 06/09/14 16:02, Alexey Petruchik 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 ta

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
It would be really great to get comprehensive answer from one of cmake devs. On Mon, Sep 8, 2014 at 4:01 PM, Nils Gladitz wrote: > 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

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Nils Gladitz
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

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
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 wrote: > I dont want to go dirty way with if ("${CMAKE_GENERATOR}" STREQUAL ...) > > > On Sat, Sep 6, 2014 at 5:02

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Hendrik Sattler
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 wrote: >I want to use different library folders for x64/x86

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
I dont want to go dirty way with if ("${CMAKE_GENERATOR}" STREQUAL ...) On Sat, Sep 6, 2014 at 5:02 PM, Alexey Petruchik 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 2

[CMake] Get Visual Studio target Arch

2014-09-06 Thread Alexey Petruchik
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 f