[CMake] On WINDOWS, Is it Possible to build 64-bit and 32-bit Solutions in One Go?

Hashim Mir hmir at rim.com
Thu Feb 16 14:54:26 EST 2012


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?

Thanks,
Hashim

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120216/20f3ccbe/attachment.htm>


More information about the CMake mailing list