Classification: UNCLASSIFIED
Caveats: NONE

You are right Nils. I just tried cmake vtk projects with VS2013 x64 Cross
Tools Command Prompt  and it is not picking the "Visual Studio 12 2013
Win64" generator. But why some of them do? Actually out of 10 cmake projects
I build, 8 of them actually picked "Visual Studio 12 2013 Win64" generator
by default. Or have I just been lucky so far. I guess using the switch -G
"Visual Studio 12 2013 Win64" won't hurt.

Thanks
-simon

-----Original Message-----
From: Nils Gladitz [mailto:nilsglad...@gmail.com] 
Sent: Monday, September 29, 2014 9:54 AM
To: Su, Simon M CTR USARMY ARL (US); Eric Wing
Cc: cmake@cmake.org
Subject: Re: [CMake] cmake 3.0.0 generating VS sln file default target
machine type x86 (UNCLASSIFIED)

On 09/29/2014 03:46 PM, Su, Simon M CTR USARMY ARL (US) wrote:
> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Thanks for sharing. I guess I originally wanted to ask if there is a 
> switch to cmake that will allow picking 64-bit by default if 64-bit 
> version is available.
>
> My understanding is that (for VS2013 Express), if you run things from 
> a
> VS2013 x64 Cross Tools Command Prompt, you will get environment setup 
> for doing all things 64-bit and you will get "Visual Studio 12 2013 
> Win64" as default generator when you run cmake from that command 
> prompt. And if you run from within "Developer Command Prompt for 
> VS2013" command prompt, you will get all the 32-bit environment setup 
> and get "Visual Studio 12 2013" as default generator.

Like I tried to explain this is not the case.

The command line environment doesn't have any effect on which generator
CMake will pick.

When you run CMake from a plain "cmd" or a "Visual Studio 8 2005" 
command prompt you will still end up with the "Visual Studio 12 2013" 
generator by default (assuming 2013 is the newest available and known visual
studio installation).

Nils

Classification: UNCLASSIFIED
Caveats: NONE


Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 

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