summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2019-10-17 12:09:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-23 17:15:53 +0100
commitff0db7b88ec5026f75a86f6fd8562c35b95b1017 (patch)
tree74cbdb05b44a310bf544d5364d6492a6ea5fefd5 /documentation/ref-manual
parent20d648416b43631a01de0469c1a9dc952639c98e (diff)
downloadpoky-ff0db7b88ec5026f75a86f6fd8562c35b95b1017.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.xml8
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'>