]> code.ossystems Code Review - openembedded-core.git/commit
cmake: allow the generator to be changed
authorRoss Burton <ross.burton@intel.com>
Fri, 5 Jan 2018 16:39:28 +0000 (16:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Jan 2018 12:18:04 +0000 (12:18 +0000)
commit6e3f719076cab469f56cd1555bd219a5c3fd135d
treed554f8528e6e57b09180c484233a12833a989b21
parent4db37cc8d9139076682e2528d29e92fad2eb1c90
cmake: allow the generator to be changed

Add OECMAKE_GENERATOR variable to control which generator is used by CMake,
defaulting to the upstream default of Unix Makefiles for now.  The other
supported option is Ninja, which is faster than Make for large projects (for
example, using Ninja takes three minutes off webkitgtk:do_compile for me).

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cmake.bbclass