The Ninja Build System is not designed to be used directly. fast-ninja is a light-weight preprocessor that adds the missing features and conveniences to make it usable almost directly.
Most other build systems that can use Ninja are centered around building executables for modern computers on many platforms and add a lot of weight to accomplish that. They are therefore a bad fit for projects that don't need any of that, like cross-building programs for retro computers.
fast-ninja is designed for projects that don't use a modern compiler toolchain but use tools that already work across multiple platforms.
First, build and install fast-ninja.
Then, set up the build directory:
mkdir build
cd build
fast-ninja ..Lastly, build your project:
ninjaIf you found a problem, please create an issue on GitHub or let us know at fast-ninja@tpau.group.
Also let us know if the documentation is incomplete, inaccurate, or hard to understand.
Fast Ninja is a minimalist frontend for the Ninja build system to allow it to be used directly.