With the release of Qt Creator 4.0, the use of CMake becomes less painful. But
nmake is the default make program so the use of
-j X is not an option.
Fortunately, Qt Creator allows to set default CMake settings for each kits we have. So we can use Jom and get our parallel build back.
To use Jom, you can either set the CMake program in your
CMakeLists.txt file like so:
Or you can set the value in CMake configuration settings to make it default for all the projects. Open the settings window and go to
Build & Run -> Kits
And then click on the
Change button at the bottom next to
CMake Configuration label.
And add this line to the bottom:
Now you can add
-j X to
Tool arguments in
Projects tab as usual.