C++ How to limit visual studios multi-processor compilation

后端 未结 7 589
不思量自难忘°
不思量自难忘° 2021-02-02 10:24

Every time I compile using visual studio the rest of my computer crawls because visual studio is hogging all the processors. Is there a way to limit the number of processors tha

7条回答
  •  庸人自扰
    2021-02-02 11:07

    The /MP option might do it. It limits the number of processes that are spawned when you build a project. So, in your case, you would use it like this /MP1 (/MP[processMax], where processMax is the maximum amount of processes that you want to use).

提交回复
热议问题