Build with ninja

Install ninja

Download 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.54.0. Last revision: March 5, 2019
Commit: [web] Added info on VS command line usage. c252883d4  | Edit this page on

Creative Commons License | Privacy policy / Legal statements / Impressum