![](./.github/ayin.png)
Build on Windows/MinGW-w64
- Install MSYS2
- Open
MSYS2 UCRT64
- Install dependencies:
$ pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-SDL2 mingw-w64-ucrt-x86_64-freetype
- Build
$ cd /path/to/ayin/
$ make mode=release
$ ./target/release/ayin.exe
Configure MSYS2 UCRT64 for VSCode
- Ctrl+Shift+P
- Preferences: Open User Settings (JSON)
- Copy this inside of your
settings.json
"terminal.integrated.profiles.windows": {
"MSYS2 UCRT": {
"path": "cmd.exe",
"args": [
"/c",
"C:/msys64/msys2_shell.cmd -defterm -here -no-start -ucrt64"
]
}
}