mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
ref-manual: Updates to CMake and cmake.bbclass.
I cleaned up the terminology used for the CMake build system. I provided some meaningful links to a good overview page for CMake. I also built in some cross-referencing as needed. (From yocto-docs rev: 7c38add39b97a7a8786a1be53f9ff549e4727fad) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
32395abc6d
commit
d29f4dcc45
@@ -5557,8 +5557,9 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
|
|||||||
incompatible with other implementations.
|
incompatible with other implementations.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
By default, the <filename>cmake</filename> class uses
|
By default, the
|
||||||
<filename>ninja</filename> instead of
|
<link linkend='ref-classes-cmake'><filename>cmake</filename></link>
|
||||||
|
class uses <filename>ninja</filename> instead of
|
||||||
<filename>make</filename> for building.
|
<filename>make</filename> for building.
|
||||||
This improves build performance.
|
This improves build performance.
|
||||||
If a recipe is broken with <filename>ninja</filename>, then
|
If a recipe is broken with <filename>ninja</filename>, then
|
||||||
|
|||||||
@@ -449,12 +449,13 @@
|
|||||||
<title><filename>cmake.bbclass</filename></title>
|
<title><filename>cmake.bbclass</filename></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <filename>cmake</filename> class allows for
|
The <filename>cmake</filename> class allows for recipes that need to
|
||||||
recipes that need to build software using the CMake build system.
|
build software using the
|
||||||
|
<ulink url='https://cmake.org/overview/'>CMake</ulink> build system.
|
||||||
You can use the
|
You can use the
|
||||||
<link linkend='var-EXTRA_OECMAKE'><filename>EXTRA_OECMAKE</filename></link>
|
<link linkend='var-EXTRA_OECMAKE'><filename>EXTRA_OECMAKE</filename></link>
|
||||||
variable to specify additional configuration options to be passed on
|
variable to specify additional configuration options to be passed
|
||||||
the <filename>cmake</filename> command line.
|
using the <filename>cmake</filename> command line.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -4633,7 +4633,12 @@
|
|||||||
<glossdef>
|
<glossdef>
|
||||||
<para role="glossdeffirst">
|
<para role="glossdeffirst">
|
||||||
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
||||||
Additional <filename>cmake</filename> options.
|
Additional
|
||||||
|
<ulink url='https://cmake.org/overview/'>CMake</ulink>
|
||||||
|
options.
|
||||||
|
See the
|
||||||
|
<link linkend='ref-classes-cmake'><filename>cmake</filename></link>
|
||||||
|
class for additional information.
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|||||||
Reference in New Issue
Block a user