Pull request #55: docs: adding warning to keep the source code in separate repo

Merge in ICO/coreos from cmakedemo_docs_warning to master

* commit 'b89f4fe00d3646bddd4a0b466a75d1f3a06644b1':
  docs: adding warning to keep the source code in separate repo
This commit is contained in:
Darko Trogrlic 2023-02-20 08:56:09 +01:00
commit 395132c436
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,13 @@ Example of using CMake with Bitbake recipes.
Please find the example here:
`CMake Yocto Example <https://bitbucket.gad.local/projects/ICO/repos/coreos/browse/layers/meta-belden-coreos-demo/recipes-demo/cmake-demo/cmake-demo_0.1.bb>`_.
.. warning::
This simple example has the code in the same repo as the recipe. However, it is recommended to have the code in a separate git repo.
To use remote git repo, it's necessary to have settings as follows:
* SRC_URI = "git://github.com/<link to your repo>"
* S="${WORKDIR}/git
BitBake recipe
===============