mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Added a bunch of code blocks. (#347)
This commit is contained in:
parent
387ac9b2f6
commit
d0a6974827
|
@ -19,13 +19,13 @@ Install Visual Studio 2017 and select "Desktop development with C++" and "Univer
|
||||||
download the [boost library](https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.zip/download) and extract it to `C:\local\boost`
|
download the [boost library](https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.zip/download) and extract it to `C:\local\boost`
|
||||||
##### open-ssl
|
##### open-ssl
|
||||||
1. download binaries for OpenSSL >= 1.0.2 or compile it from source. [example download](https://indy.fulgan.com/SSL/)
|
1. download binaries for OpenSSL >= 1.0.2 or compile it from source. [example download](https://indy.fulgan.com/SSL/)
|
||||||
2. Place libeay32.dll and ssleay32.dll from OpenSSL in a directory in PATH.
|
2. Place `libeay32.dll` and `ssleay32.dll` from OpenSSL in a directory in PATH.
|
||||||
|
|
||||||
#### Using MSYS2
|
#### Using MSYS2
|
||||||
Building using MSYS2 can be quite easier process. Check out MSYS2 at [msys2.org](http://www.msys2.org/).
|
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 threads\>" 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)
|
||||||
You can also add "-o2" to optimize the final binary size but increase compilation time, and add "-pipe" to use more ram in compilation but increase compilation speed
|
You can also add `-o2` to optimize the final binary size but increase compilation time, and add `-pipe` to use more ram in compilation but increase compilation speed
|
||||||
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
|
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
|
2. go into the project directory
|
||||||
3. create build folder `mkdir build && cd build`
|
3. create build folder `mkdir build && cd build`
|
||||||
4. `qmake .. && mingw32-make`
|
4. `qmake .. && mingw32-make`
|
||||||
|
|
Loading…
Reference in a new issue