On Thu, Feb 16, 2012 at 3:27 PM, John Drescher <[email protected]> wrote:
> On Thu, Feb 16, 2012 at 2:54 PM, Hashim Mir <[email protected]> wrote:
>> Hi,
>>
>>
>>
>> This is what I am doing presently in order to compile both a 32-bit and a
>> 64-bit version of my project:
>>
>>
>>
>> cmake.exe -G “Visual Studio 9 2008”         #for x32
>>
>> cmake.exe -G “Visual Studio 9 2008 Win64”   #for x64
>>
>>
>>
>> Is it possible to consolidate the two individual statements into one
>> somehow, in order to compile both 32 and 64 bit configurations of my project
>> files with one command?
>>
>
> No. CMake does not allow this. Only 1 generator can exist for a solution.
>
And I mean in the same build folder tree. You can however make 2 build
folder trees and use a batch file to have both build separately at the
same time from the command prompt.

John
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to