[CMake] Parallel builds

Petr Bena benapetr at gmail.com
Wed Sep 16 07:30:56 EDT 2015


There is /MP compiler flag that I need to enable for every single
project to be precise.

On Wed, Sep 16, 2015 at 1:26 PM, Petr Bena <benapetr at gmail.com> wrote:
> Hi,
>
> Is it possible to enable multithreaded builds by default in Visual
> Studio projects? It seems that cmake generates the solution files in a
> way that they are forbidden, so even if global preference is to use
> multithreaded builds, the compiler never does that for sln files
> create by cmake, because multithreaded builds are not allowed on
> project level.
>
> Is there any way to enable them so that I don't have to do that by
> hand all time?


More information about the CMake mailing list