[oe-commits] [openembedded-core] 15/20: cmake: use Ninja by default

git at git.openembedded.org git at git.openembedded.org
Fri Jan 19 12:37:50 UTC 2018


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

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

commit bacaa26decb8a1e3fa672e1923954793fde48766
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