[oe-commits] [openembedded-core] 25/32: cmake: use Ninja by default

git at git.openembedded.org git at git.openembedded.org
Thu Jan 18 23:32:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 130af3f37c387101cd7277796ffd8c343dcac31d
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Jan 18 12:11:38 2018 +0000

    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 <ross.burton at intel.com>
---
 meta/classes/cmake.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 74a9521..d60dad8 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")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list