Build with ninja

Install ninja

Download ninja.zip from the latest GitHub release. Unzip it and make sure that the directory containing the ninja.exe is the PATH-environment variable!

Install with your package manager:

Install via Homebrew:

Configure for ninja and build

Run CMake with the ninja-generator:

Visual Studio remarks

When you configure with the Ninja generator you have to run CMake from the appropriate Visual Studio Command Prompt! From there you can both use cmake as well as cmake-gui which starts the GUI. In the GUI select the Ninja generator and leave the toggle Use default native compilers on.


This article was written by Lars Bilke. If you are missing something or you find an error please let us know. Generated with Hugo 0.47.1. Last revision: February 26, 2018
Commit: [web] Finished advanced section in devguide. a50886a67  | Edit this page on

Creative Commons License | Privacy policy / Legal statements / Impressum