No description
This repository has been archived on 2026-05-01. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C++ 78.6%
  • C 10.7%
  • Meson 4%
  • GLSL 2.8%
  • Nix 2.4%
  • Other 1.5%
Find a file
2026-04-12 15:32:44 +02:00
assets whatever 2026-04-12 15:32:44 +02:00
cross test 2026-04-12 13:21:35 +02:00
lib okay shit's fixed 2026-04-11 17:39:55 +02:00
scripts vita: attempt 10 (so close) 2026-04-07 00:18:29 +02:00
src whatever 2026-04-12 15:32:44 +02:00
subprojects shit-fix linux builds 2026-04-11 12:19:52 +02:00
sys Initial commit 2026-03-11 17:58:25 +00:00
test test 2026-04-12 13:21:35 +02:00
.gitignore vita: attempt 10 (so close) 2026-04-07 00:18:29 +02:00
.gitmodules vita: attempt 10 (so close) 2026-04-07 00:18:29 +02:00
flake.lock Initial commit 2026-03-11 17:58:25 +00:00
flake.nix shit-fix linux builds 2026-04-11 12:19:52 +02:00
LICENSE Initial commit 2026-03-11 17:58:25 +00:00
meson.build vita: 27th attempt 2026-04-07 15:52:37 +02:00
meson.options resource/scene: obj importer 2026-04-03 13:03:39 +02:00
README.md Initial commit 2026-03-11 17:58:25 +00: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>/