correct -j flag (#315)

source (minigw is basically mini GCC so it applies)
https://wiki.gentoo.org/wiki/MAKEOPTS
This commit is contained in:
Vilgot Fredenberg 2018-04-08 14:34:58 +02:00 committed by fourtf
parent 26958fccbf
commit bbc7ddfa80

View file

@ -23,7 +23,7 @@ download the [boost library](https://sourceforge.net/projects/boost/files/boost/
#### Using MSYS2
Building using MSYS2 can be quite easier process. Check out MSYS2 at [msys2.org](http://www.msys2.org/).
Be sure to add "-j <number of cores\*2>" as a make argument so it will use all your cpu cores to build. [example setup](https://i.imgur.com/qlESlS1.png)
Be sure to add "-j <number of threads>" as a make argument so it will use all your cpu cores to build. [example setup](https://i.imgur.com/qlESlS1.png)
1. open appropriate MSYS2 terminal and do `pacman -S mingw-w64-<arch>-boost mingw-w64-<arch>-qt5 mingw-w64-<arch>-rapidjson` where `<arch>` is x86_64 or i686
2. go into the project directory
3. create build folder `mkdir build && cd build`