diff options
| author | Ross Burton <ross.burton@intel.com> | 2018-01-18 12:11:38 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-19 12:37:14 +0000 |
| commit | 66d783ca67e84adc8a1387fb7aaeb2039c480347 (patch) | |
| tree | a51d644db5be9c0090850b30397b29464ce2a999 | |
| parent | 59879f31e174366f6899acd9876355ca62e63a4a (diff) | |
| download | poky-66d783ca67e84adc8a1387fb7aaeb2039c480347.tar.gz | |
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.
(From OE-Core rev: bacaa26decb8a1e3fa672e1923954793fde48766)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/cmake.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "" | |||
| 9 | 9 | ||
| 10 | # What CMake generator to use. | 10 | # What CMake generator to use. |
| 11 | # The supported options are "Unix Makefiles" or "Ninja". | 11 | # The supported options are "Unix Makefiles" or "Ninja". |
| 12 | OECMAKE_GENERATOR ?= "Unix Makefiles" | 12 | OECMAKE_GENERATOR ?= "Ninja" |
| 13 | 13 | ||
| 14 | python() { | 14 | python() { |
| 15 | generator = d.getVar("OECMAKE_GENERATOR") | 15 | generator = d.getVar("OECMAKE_GENERATOR") |
