No description
- Nix 44%
- Meson 35.7%
- C++ 15%
- HTML 5.3%
| cross | ||
| src | ||
| sys | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| meson.build | ||
| meson.options | ||
| README.md | ||
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
- Run the desired development shell with
nix develop .#<platform>, where<platform>is one ofnative,gnu32,arm64,arm32,win64,win32,psp,vita,web - 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>/