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
It's not quite the same, but if you use cmake
, you can export solution (e.g. using generator "Visual Studio 14 2015" instead of "NMake Makefiles").
In this case it's possible to build exported solution using msbuild
tool which allows you to parallelize building process with /maxcpucount
command line switch.
The CMake 2.8.1 RC1, as for the time of writing this it's ready to try, does bring new generator for NMake which is called NMake Makefiles JOM and it generates NMake with specific settings for jom, which is the drop in replacement of NMake. Thus, it gives multi-processing enabled building using NMake.