[CMake] How to get Visual Studio to use more than a single core for compiling

Gary Little gglittle at comcast.net
Tue Nov 27 10:36:07 EST 2012


Try ninja, which is available via macports. My primary project uses CMake to create 3 Windows build environments: nmake, VisualStudio, and ninja. In the VS environment I can use msbuild /m <project>.sln. The ninja environment is about the tastest build that I have available for Windows.

Gary Little
gglittle at comcast.net
C 952-454-4629
H 952-223-1349
Tain't what you want that makes you fat, it's what you get.



On Nov 26, 2012, at 10:24 PM, Michael Jackson <mike.jackson at bluequartz.net> wrote:

> That will teach me to hit enter in GMail..
> 
> My question is this: What is the magic CMake incantation to get Visual
> Studio 2010 to use more than a single processor when compiling my
> project?
> 
> Thanks
> -----
> Mike Jackson
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
> 
> 
> On Mon, Nov 26, 2012 at 11:22 PM, Michael Jackson
> <mike.jackson at bluequartz.net> wrote:
>> _________________________________________________________
>> Mike Jackson                  mike.jackson at bluequartz.net
>> BlueQuartz Software                    www.bluequartz.net
>> Principal Software Engineer                  Dayton, Ohio
> --
> 
> 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



More information about the CMake mailing list