Visual Studio 2010, how to build projects in parallel on multicore

后端 未结 5 1761
暖寄归人
暖寄归人 2020-12-13 07:32

I have a big solution with more than 40 projects. Almost half of them are test projects. In my project we use both Code Contracts, Code Analysis, Style Analysis. I want to

5条回答
  •  隐瞒了意图╮
    2020-12-13 08:12

    Then real answer you are looking for is to add the /MP compiler flag to the CXX compiler flags.

    In Visual Studio Under the project property page> C\C++ >General Multi-processor compilation just type Yes (/MP). Now it will build all 40 projects in parallel on each of the cores

提交回复
热议问题