[CMake] CMake Visual Studio 64bit flag?

aaron.meadows at thomsonreuters.com aaron.meadows at thomsonreuters.com
Fri Oct 8 13:03:31 EDT 2010


Thanks for pointing that out.. not that it effects the example in the
slightest... they could have been "Bozo" and "Crusty" and still prove it
works.  =D

Aaron C. Meadows 

-----Original Message-----
From: John Drescher [mailto:drescherjm at gmail.com] 
Sent: Friday, October 08, 2010 11:52 AM
To: Meadows, Aaron C.
Cc: eike at sf-mail.de; cmake at cmake.org
Subject: Re: [CMake] CMake Visual Studio 64bit flag?

On Fri, Oct 8, 2010 at 12:50 PM,  <aaron.meadows at thomsonreuters.com>
wrote:
> Seems to work correctly from my tests:
>
>
>
> CMakeLists.txt:
>
> cmake_minimum_required (VERSION 2.8)
>
>
>
> project(test CXX)
>
> message( STATUS "CMAKE_GENERATOR: ${CMAKE_GENERATOR}")
>
> message( STATUS "CMAKE_CL_64: ${CMAKE_CL_64}")
>
>
>
>
>
>
>
> c:\dev2\Builds\test\x64>cmake -G "Visual Studio 8 2005" ../.
>
> -- Check for working CXX compiler using: Visual Studio 8 2005
>
> -- Check for working CXX compiler using: Visual Studio 8 2005 -- works
>
> -- Detecting CXX compiler ABI info
>
> -- Detecting CXX compiler ABI info - done
>
> -- CMAKE_GENERATOR: Visual Studio 8 2005
>
> -- CMAKE_CL_64: 0
>
> -- Configuring done
>
> -- Generating done
>
> -- Build files have been written to: C:/dev2/Builds/test/x64
>
>
>
>
>
> c:\dev2\Builds\test\x86>cmake -G "Visual Studio 8 2005 Win64" ../.
>
> -- Check for working CXX compiler using: Visual Studio 8 2005 Win64
>
> -- Check for working CXX compiler using: Visual Studio 8 2005 Win64 --
works
>
> -- Detecting CXX compiler ABI info
>
> -- Detecting CXX compiler ABI info - done
>
> -- CMAKE_GENERATOR: Visual Studio 8 2005 Win64
>
> -- CMAKE_CL_64: 1
>
> -- Configuring done
>
> -- Generating done
>
> -- Build files have been written to: C:/dev2/Builds/test/x86
>
>

I believe you got your folder names backwards.
John


This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.




More information about the CMake mailing list