<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Consolas;
        color:gray;
        font-weight:bold;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 97.05pt 1.0in 97.05pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>Seems to work correctly from my tests:<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>CMakeLists.txt:<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>cmake_minimum_required (VERSION
2.8)<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>project(test CXX)<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>message( STATUS
"CMAKE_GENERATOR: ${CMAKE_GENERATOR}")<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>message( STATUS "CMAKE_CL_64:
${CMAKE_CL_64}")<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>c:\dev2\Builds\test\x64>cmake -G "Visual
Studio 8 2005" ../.<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Check for working CXX compiler
using: Visual Studio 8 2005<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Check for working CXX compiler
using: Visual Studio 8 2005 -- works<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Detecting CXX compiler ABI info<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Detecting CXX compiler ABI info
- done<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- CMAKE_GENERATOR: Visual Studio
8 2005<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- CMAKE_CL_64: 0<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Configuring done<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Generating done<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Build files have been written
to: C:/dev2/Builds/test/x64<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>c:\dev2\Builds\test\x86>cmake -G "Visual
Studio 8 2005 Win64" ../.<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Check for working CXX compiler
using: Visual Studio 8 2005 Win64<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Check for working CXX compiler
using: Visual Studio 8 2005 Win64 -- works<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Detecting CXX compiler ABI info<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Detecting CXX compiler ABI info
- done<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- CMAKE_GENERATOR: Visual Studio
8 2005 Win64<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- CMAKE_CL_64: 1<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Configuring done<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Generating done<o:p></o:p></span></font></b></p>
<p class=MsoPlainText style='margin-left:.5in'><b><font size=2 color=gray
face=Consolas><span style='font-size:10.0pt'>-- Build files have been written
to: C:/dev2/Builds/test/x86<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>Aaron C. Meadows <o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>-----Original Message-----<br>
From: cmake-bounces@cmake.org [mailto:cmake-bounces@cmake.org] On Behalf Of Rolf
Eike Beer<br>
Sent: Friday, October 08, 2010 11:33 AM<br>
To: cmake@cmake.org<br>
Subject: Re: [CMake] CMake Visual Studio 64bit flag?</span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>Am Friday 08 October 2010 schrieb
aaron.meadows@thomsonreuters.com:<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> Is this not sufficient: (from "Variables
That Describe the System")<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> <o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> CMAKE_CL_64: Using the 64 bit compiler from Microsoft<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> <o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> Set to true when using the 64 bit cl compiler
from Microsoft.<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> <o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> This is what I'm intending on using, so if this
won't work, I'll need to<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>> know...<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>IIRC that doesn't work if you use the Studio generator
(i.e. not Makefiles). So <o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>this needs to be something like "if (CMAKE_CL_64
or CMAKE_GENERATOR MATCHES <o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>Win64)"<o:p></o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'><o:p> </o:p></span></font></b></p>
<p class=MsoPlainText><b><font size=2 color=gray face=Consolas><span
style='font-size:10.0pt'>Eike<o:p></o:p></span></font></b></p>
</div>
<br clear=all> This email was sent to you by Thomson Reuters, the global news and information company.<br>
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.
</body>
</html>