From: Ross Burton Date: Thu, 18 Jan 2018 12:11:38 +0000 (+0000) Subject: cmake: use Ninja by default X-Git-Tag: uninative-1.8~615 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bacaa26decb8a1e3fa672e1923954793fde48766;p=openembedded-core.git cmake: use Ninja by default This changes the cmake class to use Ninja instead of Make by default. If a recipe is broken with Ninja then the recipe can set OECMAKE_GENERATOR="Unix Makefiles" to change back to Make. Signed-off-by: Ross Burton --- diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 74a952142f..d60dad8d66 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -9,7 +9,7 @@ CCACHE = "" # What CMake generator to use. # The supported options are "Unix Makefiles" or "Ninja". -OECMAKE_GENERATOR ?= "Unix Makefiles" +OECMAKE_GENERATOR ?= "Ninja" python() { generator = d.getVar("OECMAKE_GENERATOR")