nasa / fprime-tools

F´ Python tooling and helpers.
https://github.com/nasa/fprime
Apache License 2.0
21 stars 39 forks source link

Add Ninja support #188

Closed thomas-bc closed 10 months ago

thomas-bc commented 10 months ago
Related Issue(s) https://github.com/nasa/fprime/issues/2376
Has Unit Tests (y/n) CI int test
Documentation Included (y/n) y

Change Description

Add support for using the Ninja CMake Generator. Turns out not a lot of things needed changing, for one main reason: Ninja refreshes the build cache automatically when it detects changes or a missing target.

fprime-util generate --ninja generates a build cache using Ninja.

Testing/Review Recommendations

Beta release? I tested manually as much as I could, but I'm sure there's going to be edge cases.