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

Titus von Boxberg titus at v9g.de
Tue Nov 27 00:46:16 EST 2012


Am 27.11.2012 05:24, schrieb Michael Jackson:
> 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?
You could add /MP to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS

Regards
Titus


More information about the CMake mailing list