Skip to content

knopp/native_toolchain_ninja

Repository files navigation

pub package package publisher

A library to invoke the native C compiler installed on the host machine through ninja build.

Status: Experimental

This package mirrors the API of native_toolchain_c. Simply replace CBuilder with NinjaBuilder and the build will be run through ninja instead of invoking the compiler directly.

Building through ninja allows for incremental and parallel builds, better dependency tracking and automatic compile_commands.json generation.

Ninja does not need to be installed on the host system, if missing it will be downloaded during the build. The download is checked against original sha256 checksum to ensure integrity. See ninja_releases.json for more information.

Example

An example can be found in example/package.

About

Build Dart native assets using Ninja.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages