Unsolved Multithread compilation
-
How to instruct Qt Creator 4.0.2 on Windows 10 to use all my 8 cores of CPU for compilation for all my projects (I don't want to set -j8 for every configuration of every project)?
-
Hi! I guess adding
MAKEFLAGS -j8
to the windows environment variables should do the trick. -
Hi,
You can also set the system environment variable for jom.
like this: MAKE_COMMAND=C:\Qt\Tools\QtCreator\bin\jom.exe
or
Tools -> Options -> Build & Run -> Kits -> Select kit -> Environment -> Change... -> Add : MAKE_COMMAND=C:\Qt\Tools\QtCreator\bin\jom.exe -> Ok
-
Thanks guys, that works!