[CMake] cmake 3.1.1 does not generate x64 profile for visual studio

Scott Aron Bloom scott at towel42.com
Fri Apr 24 02:37:22 EDT 2015


What is your cmake generator being used?

For Visual Studio 2013, you will need to use

cmake –G “Visual Studio 12 2013 Win64”

Scott

From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Xi Shen
Sent: Thursday, April 23, 2015 11:28 PM
To: cmake at cmake.org
Subject: [CMake] cmake 3.1.1 does not generate x64 profile for visual studio

Hi,

I am using cmake 3.1.1 on my Windows 7 64bit system. I have Visual Studio 2013 installed.

The project I created with cmake works and can build with msbuild. But it only build the x86 version. If I try:

  msbuild /property:Platform=x64 myproj.vcproj

I got error says that the x64 profile does not exist.

I have to open the project file and create the x64 profile by myself. Is there any way to let cmake generate the x64 profile?


Thanks,
David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150424/da286cd7/attachment-0001.html>


More information about the CMake mailing list