diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2019-10-17 12:09:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-23 17:32:45 +0100 |
commit | 4cecfe6e9d9e9216d9235feec25460c4011bf65f (patch) | |
tree | 6e29d9844e9cb297c75bad20915fc278468bd466 /documentation/ref-manual | |
parent | 728ad848a8f10a8550844865f536ee7346c74a5c (diff) | |
download | poky-4cecfe6e9d9e9216d9235feec25460c4011bf65f.tar.gz |
ref-manual, dev-manual: Added CMake toolchain files.
Fixes [YOCTO #12760]
Updated the cmake.bbclass description to tell what directory
to insall custom CMake toolchain files into. Also, updated
the two areas in the "Writing a New Recipe" section that
mention CMake. Placed a couple notes there concerning the
same directory stuff.
(From yocto-docs rev: a65cd2c4c062d4ae388191b9d6708b4fadffaa3f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 5403f20b6f..f9bbddd724 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -428,6 +428,14 @@ | |||
428 | variable to specify additional configuration options to be passed | 428 | variable to specify additional configuration options to be passed |
429 | using the <filename>cmake</filename> command line. | 429 | using the <filename>cmake</filename> command line. |
430 | </para> | 430 | </para> |
431 | |||
432 | <para> | ||
433 | On the occasion that you would be installing custom CMake toolchain | ||
434 | files supplied by the application being built, you should install them | ||
435 | to the preferred CMake Module directory: | ||
436 | <filename>${D}${datadir}/cmake/</filename> Modules during | ||
437 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink>. | ||
438 | </para> | ||
431 | </section> | 439 | </section> |
432 | 440 | ||
433 | <section id='ref-classes-cml1'> | 441 | <section id='ref-classes-cml1'> |