CMAKE_CL_64 will be defined if you are running the configure for &quot;NMake Makefiles&quot; from a Win64 Visual Studio command prompt... or if you are running the configure for the &quot;Visual Studio 8 2005 Win64&quot; generator.<div>
<br class="webkit-block-placeholder"></div><div>I suspect you are using the &quot;Visual Studio 8 2005&quot; generator which will always produce project files that target x86/Win32. Use the generator ending in &quot;Win64&quot; instead...</div>
<div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>HTH,</div><div>David</div><div><br><br><div><span class="gmail_quote">On 2/4/08, <b class="gmail_sendername">Surya Kiran Gullapalli</b> &lt;<a href="mailto:suryakiran.gullapalli@gmail.com">suryakiran.gullapalli@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>I&#39;m running cmake - 2.4.8 on win64 platform. Cmake was installed using<br>the win32 installer.<br><br>Now when i&#39;m running cmake and doing some platform checks, I&#39;m always<br>getting the platform as x86 only.<br>
<br>Like<br>CMAKE_CL_64 is not defined.<br>ENV{PROCESSOR_ARCHITECTURE} is x86.<br><br>Even though at command prompt it shows as AMD64.<br><br>Do i need to install 64 bit cmake to make these things work? if so how?<br>Do i need to compile from source?<br>
<br>Thanks in advance,<br>Surya<br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>&nbsp;</div>