No description
  • Nix 36.4%
  • Meson 32.1%
  • Shell 13.4%
  • C++ 13.4%
  • HTML 4.7%
Find a file Use this template
2026-03-11 17:57:18 +00:00
cross Update cross/psp.ini 2026-03-11 17:57:18 +00:00
scripts scripts: make executable 2026-03-11 18:56:37 +01:00
src src/meson.build: remove unused include directories 2026-03-11 18:22:11 +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 automate vitasdk & pspdev installation 2026-03-11 18:55:34 +01:00
LICENSE Initial commit 2026-03-10 12:02:50 +01:00
meson.build some option tweaks 2026-03-11 18:21:09 +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>/