[CMake] cmake 3.0.0 generating VS sln file default target machine type x86 (UNCLASSIFIED)
Su, Simon M CTR USARMY ARL (US)
simon.m.su.ctr at mail.mil
Mon Sep 29 10:19:44 EDT 2014
Classification: UNCLASSIFIED
Caveats: NONE
Thanks
-simon
-----Original Message-----
From: Nils Gladitz [mailto:nilsgladitz at gmail.com]
Sent: Monday, September 29, 2014 10:10 AM
To: Su, Simon M CTR USARMY ARL (US); Eric Wing
Cc: cmake at cmake.org
Subject: Re: [CMake] cmake 3.0.0 generating VS sln file default target
machine type x86 (UNCLASSIFIED)
On 09/29/2014 04:02 PM, Su, Simon M CTR USARMY ARL (US) wrote:
> 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.
The only thing I can think of is that you either are looking at build
directories which are already configured (you can not change the generator
of an existing build directory and rerunning cmake without -G will not
change the generator currently in use)
or
You aren't invoking CMake yourself and whatever invokes CMake is picking
the generator for you (might also be the case when you've got CMake
invoking another CMake instance e.g. in context of an ExternalProject).
Nils
Classification: UNCLASSIFIED
Caveats: NONE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 9990 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140929/4d9f0cfb/attachment-0001.bin>
More information about the CMake
mailing list