2022-04-18 18:53:28 +00:00
|
|
|
Windows
|
|
|
|
=======
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
------------
|
2024-05-25 20:28:14 +00:00
|
|
|
First you need to install `MSYS2 <https://www.msys2.org>`__, then startup "MSYS2 UCRT64" and execute the following
|
2022-12-28 21:30:32 +00:00
|
|
|
codes.
|
2022-04-18 18:53:28 +00:00
|
|
|
|
2022-12-28 21:30:32 +00:00
|
|
|
Update all packages:
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
pacman -Suy
|
2022-04-18 18:53:28 +00:00
|
|
|
|
2022-12-28 21:30:32 +00:00
|
|
|
Install dependencies:
|
|
|
|
.. code-block:: bash
|
|
|
|
|
2024-01-01 23:48:27 +00:00
|
|
|
pacman -S \
|
2024-03-24 23:52:24 +00:00
|
|
|
doxygen \
|
2024-01-01 23:48:27 +00:00
|
|
|
git \
|
2024-05-25 20:28:14 +00:00
|
|
|
mingw-w64-ucrt-x86_64-cmake \
|
2024-05-27 18:16:14 +00:00
|
|
|
mingw-w64-ucrt-x86_64-cppwinrt \
|
2024-05-25 20:28:14 +00:00
|
|
|
mingw-w64-ucrt-x86_64-curl \
|
|
|
|
mingw-w64-ucrt-x86_64-graphviz \
|
|
|
|
mingw-w64-ucrt-x86_64-miniupnpc \
|
|
|
|
mingw-w64-ucrt-x86_64-nlohmann-json \
|
|
|
|
mingw-w64-ucrt-x86_64-nodejs \
|
|
|
|
mingw-w64-ucrt-x86_64-nsis \
|
|
|
|
mingw-w64-ucrt-x86_64-onevpl \
|
|
|
|
mingw-w64-ucrt-x86_64-openssl \
|
|
|
|
mingw-w64-ucrt-x86_64-opus \
|
|
|
|
mingw-w64-ucrt-x86_64-rust \
|
|
|
|
mingw-w64-ucrt-x86_64-toolchain \
|
2024-03-24 23:52:24 +00:00
|
|
|
python \
|
|
|
|
python-pip
|
2022-11-19 23:58:37 +00:00
|
|
|
|
2022-04-18 18:53:28 +00:00
|
|
|
Build
|
|
|
|
-----
|
2024-01-07 16:58:13 +00:00
|
|
|
.. attention:: Ensure you are in the build directory created during the clone step earlier before continuing.
|
2022-04-18 18:53:28 +00:00
|
|
|
|
2022-10-30 02:14:16 +00:00
|
|
|
.. code-block:: bash
|
2022-04-18 18:53:28 +00:00
|
|
|
|
2022-12-28 21:30:32 +00:00
|
|
|
cmake -G "MinGW Makefiles" ..
|
|
|
|
mingw32-make -j$(nproc)
|
2022-04-30 22:22:17 +00:00
|
|
|
|
2022-10-30 02:14:16 +00:00
|
|
|
cpack -G NSIS # optionally, create a windows installer
|
|
|
|
cpack -G ZIP # optionally, create a windows standalone package
|