Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 667 Bytes

INSTALL.md

File metadata and controls

30 lines (23 loc) · 667 Bytes

Building Mini Pixel from source

Requirements

Install dependencies using vcpkg

> vcpkg install sdl2:x64-windows libpng:x64-windows

Build icon resource for Windows

From VS command prompt:

> rc /fo minipixel.o minipixel.rc 

Build and run

$ zig build run

Building a Windows release

$ zig build -Dtarget=x86_64-windows-gnu -Drelease-small=true

Copy contents of zig-out/bin to VS installer project.