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:30:38 +0100 |
commit | c1b94791e6ed9f04ac111da86aa7cd576d185567 (patch) | |
tree | f1748dcb7a2cf3dec375797a9b0a4eec72ebe9f7 /documentation/ref-manual | |
parent | 25b88e7072940b6518d05405117144d585fd71a5 (diff) | |
download | poky-c1b94791e6ed9f04ac111da86aa7cd576d185567.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: cacdedf4e1186a96ce00f94e0f42817dfb724ac7)
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 ece47e757b..76ae334b24 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -445,6 +445,14 @@ | |||
445 | variable to specify additional configuration options to be passed | 445 | variable to specify additional configuration options to be passed |
446 | using the <filename>cmake</filename> command line. | 446 | using the <filename>cmake</filename> command line. |
447 | </para> | 447 | </para> |
448 | |||
449 | <para> | ||
450 | On the occasion that you would be installing custom CMake toolchain | ||
451 | files supplied by the application being built, you should install them | ||
452 | to the preferred CMake Module directory: | ||
453 | <filename>${D}${datadir}/cmake/</filename> Modules during | ||
454 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink>. | ||
455 | </para> | ||
448 | </section> | 456 | </section> |
449 | 457 | ||
450 | <section id='ref-classes-cml1'> | 458 | <section id='ref-classes-cml1'> |