42 lines
1.1 KiB
ReStructuredText
Raw Normal View History

Windows
=======
Requirements
------------
2022-12-28 16:30:32 -05:00
First you need to install `MSYS2 <https://www.msys2.org>`_, then startup "MSYS2 MinGW 64-bit" and execute the following
codes.
2022-12-28 16:30:32 -05:00
Update all packages:
.. code-block:: bash
pacman -Suy
2022-12-28 16:30:32 -05:00
Install dependencies:
.. code-block:: bash
pacman -S base-devel cmake diffutils gcc git make mingw-w64-x86_64-binutils \
mingw-w64-x86_64-boost mingw-w64-x86_64-cmake mingw-w64-x86_64-curl \
mingw-w64-x86_64-libmfx mingw-w64-x86_64-openssl mingw-w64-x86_64-opus \
mingw-w64-x86_64-toolchain
2022-11-19 18:58:37 -05:00
npm dependencies
----------------
Install nodejs and npm. Downloads available `here <https://nodejs.org/en/download/>`_.
Install npm dependencies.
.. code-block:: bash
npm install
Build
-----
2022-04-18 16:05:17 -04:00
.. Attention:: Ensure you are in the build directory created during the clone step earlier before continuing.
2022-10-29 22:14:16 -04:00
.. code-block:: bash
2022-12-28 16:30:32 -05:00
cmake -G "MinGW Makefiles" ..
mingw32-make -j$(nproc)
2022-04-30 18:22:17 -04:00
2022-10-29 22:14:16 -04:00
cpack -G NSIS # optionally, create a windows installer
cpack -G ZIP # optionally, create a windows standalone package