No description
  • Nix 44%
  • Meson 35.7%
  • C++ 15%
  • HTML 5.3%
Find a file Use this template
2026-03-11 13:25:01 +01:00
cross additional targets: linux-arm32, linux-i686 2026-03-11 13:17:05 +01:00
src platform/psp: add sample icon0.png, pic0.png, pic1.png to EBOOT.PBP 2026-03-11 11:11:32 +01:00
sys platform/psp: add sample icon0.png, pic0.png, pic1.png to EBOOT.PBP 2026-03-11 11:11:32 +01:00
.gitignore remove .vscode 2026-03-11 10:45:59 +01:00
flake.lock hello world 2026-03-11 00:41:29 +01:00
flake.nix additional targets: linux-arm32, linux-i686 2026-03-11 13:17:05 +01:00
LICENSE Initial commit 2026-03-10 12:02:50 +01:00
meson.build hello world 2026-03-11 00:41:29 +01:00
meson.options hello world 2026-03-11 00:41:29 +01:00
README.md add README 2026-03-11 13:25:01 +01:00

ultra-platform-meson

A cross-platform C/C++ project template using the Meson build system

Platform targets

  • Linux glibc x86_64
  • Linux glibc i686 (untested)
  • Linux glibc aarch64 (untested)
  • Linux glibc armv7l (untested)
  • Windows x86_64 (targets XP)
  • Windows i686 (targets 2000)
  • PlayStation Portable
  • PlayStation Vita
  • WASM

Setup

  1. Run the desired development shell with nix develop .#<platform>, where <platform> is one of native, gnu32, arm64, arm32, win64, win32, psp, vita, web
  2. Set up the build directory:
  • For the native target with meson setup build/<target>
  • For any cross-compilation target with meson setup build/<target> --cross-file cross/<target>.ini

Compilation

Run meson compile -C build/<target>

Resulting binaries are placed in build/<target>/src/platform/<platform>/