Re: [CMake] Visual Studios platform choice

2016-09-08 Thread Gilles Khouzam via CMake
When Visual Studio creates a project, by default it will create it for multiple 
architectures. When running through CMake, only 1 platform is generated. 
Therefore Visual Studio shows the platform options but only the available 
platforms are shown. We wrote a prototype to support creating multiple 
platforms for Windows Store apps in CMake a while back that’s available on 
https://github.com/Microsoft/CMake/tree/feature/MSMultiPlatform but hasn’t been 
updated in some time. There are issues with it as some things don’t port well 
when switching architectures.

From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Dvir Yitzchaki
Sent: Thursday, September 8, 2016 01:21
To: 'Jack Stalnaker' ; cmake@cmake.org
Subject: Re: [CMake] Visual Studios platform choice

We’re generating both 32 bit and 64 bit solutions and the drop down only shows 
one architecture on each solution.
Checked on VS 2013 and 2015.

Regards,

Dvir Yitzchaki
Debugger Software Engineer, SDT
[cid:image001.png@01D209C3.2089CC20]<http://www.ceva-dsp.com/>[cid:image002.png@01D209C3.2089CC20]<http://www.ceva-dsp.com/CEVA-Software-Development-Tools>
 [https://g.twimg.com/twitter-bird-16x16.png] <http://twitter.com/cevadsp>  
[http://img2.wikia.nocookie.net/__cb20100109182754/half-life/en/images/e/ec/YouTube_favicon.png]
 <http://www.youtube.com/cevadsp>  
[http://developer.linkedin.com/sites/default/files/LinkedIn_Logo16px.png] 
<http://www.linkedin.com/company/ceva/>

From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Jack Stalnaker
Sent: Wednesday, September 07, 2016 7:31 PM
To: cmake@cmake.org<mailto:cmake@cmake.org>
Subject: [CMake] Visual Studios platform choice

Hi,

I understand from reading this newgroup (e.g. 
https://cmake.org/pipermail/cmake/2013-March/053775.html) that the only way to 
support multiple platforms in Visual Studio is to run CMake multiple times, 
once for each platform.

I'm porting some linux based code to the Windows world, and the Windows dev 
showed me that in Visual Studio, platform choice is a pulldown menu at the top 
of the screen. This pulldown appears even if we run CMake without specifying a 
64 bit platform. This is a bit confusing, because we've only generated a 
solution and project file for 32 bit. So what happens when someone selects 64 
bit on the pulldown menu? What's being built?

Thanks
-- 

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

Re: [CMake] Visual Studios platform choice

2016-09-08 Thread Dvir Yitzchaki
We’re generating both 32 bit and 64 bit solutions and the drop down only shows 
one architecture on each solution.
Checked on VS 2013 and 2015.

Regards,

Dvir Yitzchaki
Debugger Software Engineer, SDT
[cid:image001.png@01D209C3.2089CC20]<http://www.ceva-dsp.com/> 
[cid:image002.png@01D209C3.2089CC20] 
<http://www.ceva-dsp.com/CEVA-Software-Development-Tools>  
[https://g.twimg.com/twitter-bird-16x16.png] <http://twitter.com/cevadsp>  
[http://img2.wikia.nocookie.net/__cb20100109182754/half-life/en/images/e/ec/YouTube_favicon.png]
 <http://www.youtube.com/cevadsp>  
[http://developer.linkedin.com/sites/default/files/LinkedIn_Logo16px.png] 
<http://www.linkedin.com/company/ceva/>

From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Jack Stalnaker
Sent: Wednesday, September 07, 2016 7:31 PM
To: cmake@cmake.org
Subject: [CMake] Visual Studios platform choice

Hi,

I understand from reading this newgroup (e.g. 
https://cmake.org/pipermail/cmake/2013-March/053775.html) that the only way to 
support multiple platforms in Visual Studio is to run CMake multiple times, 
once for each platform.

I'm porting some linux based code to the Windows world, and the Windows dev 
showed me that in Visual Studio, platform choice is a pulldown menu at the top 
of the screen. This pulldown appears even if we run CMake without specifying a 
64 bit platform. This is a bit confusing, because we've only generated a 
solution and project file for 32 bit. So what happens when someone selects 64 
bit on the pulldown menu? What's being built?

Thanks
-- 

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

[CMake] Visual Studios platform choice

2016-09-07 Thread Jack Stalnaker
Hi,

I understand from reading this newgroup (e.g.
https://cmake.org/pipermail/cmake/2013-March/053775.html) that the only way
to support multiple platforms in Visual Studio is to run CMake multiple
times, once for each platform.

I'm porting some linux based code to the Windows world, and the Windows dev
showed me that in Visual Studio, platform choice is a pulldown menu at the
top of the screen. This pulldown appears even if we run CMake without
specifying a 64 bit platform. This is a bit confusing, because we've only
generated a solution and project file for 32 bit. So what happens when
someone selects 64 bit on the pulldown menu? What's being built?

Thanks
-- 

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