[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
Fri Sep 26 10:59:05 EDT 2014


Classification: UNCLASSIFIED
Caveats: NONE

Thanks Nils. I will double check my environment.
-simon

-----Original Message-----
From: Nils Gladitz [mailto:nilsgladitz at gmail.com] 
Sent: Friday, September 26, 2014 10:41 AM
To: Su, Simon M CTR USARMY ARL (US); Jakub Zakrzewski
Cc: cmake at cmake.org
Subject: Re: [CMake] cmake 3.0.0 generating VS sln file default target
machine type x86 (UNCLASSIFIED)

On 09/26/2014 04:28 PM, Su, Simon M CTR USARMY ARL (US) wrote:
> Classification: UNCLASSIFIED
> Caveats: NONE
>
> For some reason, when running cmake in VS2013 (express) x64 Cross 
> Tools Command Prompt is not picking up the Visual Studio 12 2013 Win64 
> generator by default for this project. But when I added
>
> -G "Visual Studio 12 2013 Win64"
>
> To cmake, it generated x64 project files and I am able to generate 
> 64bit library from command line with msbuild command.

CMake defaults to the newest known and available visual studio generator.

The current visual studio command line environment is neither required for
the visual studio generators nor does it influence which generator CMake
picks.

The environment matters when you are using one of the makefile or ninja
generators though since CMake will then use it to locate the compilers.

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/20140926/083232c6/attachment.bin>


More information about the CMake mailing list