github.com/zyedidia/knit@v1.1.2-0.20230901152954-f7d4e39a0e24/examples/cmake/README.md (about)

     1  An example of using Knit as a CMake backend by converting Ninja to Knit. This
     2  feature is **experimental**. Make sure you have
     3  [knitja](https://github.com/zyedidia/knitja) installed.
     4  
     5  First run `knit build`. This will run cmake, and convert the `build.ninja` file
     6  to a `Knitfile` using `knitja` (make sure you have `knitja` installed).
     7  
     8  Next run `knit all -C build` to run the build using the generated Knitfile.
     9  
    10  <img alt="cmake graph" src="./graph.svg" width="500px"/>