From: Ross Burton Date: Thu, 18 Jan 2018 12:11:38 +0000 (+0000) Subject: cmake: use Ninja by default X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19046 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bacaa26decb8a1e3fa672e1923954793fde48766;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 74a952142ff..d60dad8d66b 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")