[CMake] x64 builds

Bill Hoffman bill.hoffman at kitware.com
Fri Apr 4 09:34:59 EDT 2008


Bill Hoffman wrote:
> Leigh Childress wrote:
>> I was hoping someone might could help me.
>>
>> Is it possible to do x64 builds using cmake command line and if so how?
>>
>> I’ve looked on the web but merely got confused about whether it was 
>> possible or not.
>>
> I think the answer is yes.  What os/compiler?
> 
Off the list Leigh replied:
> Vista with Microsoft Visual Studio 2005 Professional Edition
> 

So, yes, you have to start a visual studio command prompt that is setup 
to build x64 and run cmake from that shell.  I don't think the cross 
compile will work without some extra work, but if you are on a 64 bit 
machine it should work.

-Bill


More information about the CMake mailing list