How do I utilise all the cores for nmake?

后端 未结 8 1885
忘了有多久
忘了有多久 2020-12-13 00:00

I just got a new quad core computer and noticed that nmake is only using 1 process.

I used to use make which had the switch -j4 for launching 4 processes. What is t

8条回答
  •  执念已碎
    2020-12-13 00:30

    Another generic, non-Qt-related way to tell nmake to use all the cores is to set environmental variable CL to /MP:

    set CL=/MP
    nmake
    

    will use all the CPU cores.

提交回复
热议问题