Skip to content

Commit

Permalink
docs: Add Windows build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Oct 25, 2021
1 parent f15e9be commit b0b983a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Most of these packages are already built and available on [Release Page](https:/
- [Building RPM package](#building-rpm-package)
- [Building AppImage](#building-appimage)
- [Building Flatpak](#building-flatpak)
- [Building Windows installer](#building-windows-installer)

## Build Dependencies

Expand All @@ -30,6 +31,14 @@ installed on your system in order to build this program:
- `itstool` (extracts messages from XML files and outputs PO template files, then merges translations from MO files to create translated XML files)
- `gettext`

<details>
<summary>Windows dependencies</summary>
In case of Windows you need QT, SDL2 libraries, cmake and compiler (mingw for example).

For setting up your environment you may use `msys2`.

</details>

## Basic building

This way of building is useful for testing purposes.
Expand Down Expand Up @@ -193,3 +202,12 @@ The Flathub manifest can be located in [Flathub's Github repo](https://github.co
flatpak install flathub org.kde.Platform//5.11 org.kde.Sdk//5.11
flatpak-builder --user --install build/ other/io.github.antimicrox.antimicrox.yml --force-clean
```

## Building Windows installer

In case of building Windows package you will need [NSIS](https://nsis.sourceforge.io/Download).

```
cmake -DCMAKE_BUILD_TYPE=Debug -B .\build
cmake --build .\build --target package
```

0 comments on commit b0b983a

Please sign in to comment.