diff --git a/documentation/best_practices/cmake.rst b/documentation/best_practices/cmake.rst index f25918a..310bd78 100644 --- a/documentation/best_practices/cmake.rst +++ b/documentation/best_practices/cmake.rst @@ -7,6 +7,13 @@ Example of using CMake with Bitbake recipes. Please find the example here: `CMake Yocto Example `_. +.. 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/" + * S="${WORKDIR}/git + BitBake recipe ===============