-
I have two libraries, modA and modB. modA depends on modB, that is, modA includes modB's header file,
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please see https://docs.zephyrproject.org/latest/develop/modules.html#zephyr-module-dependencies. I am not sure why that shouldn’t be sufficient for your use-case. |
Beta Was this translation helpful? Give feedback.
-
The
there are no build time dependencies between CMake targets created in the two modules. Target dependencies to ensure correct build order must be controlled using CMake dependency handling, for example: |
Beta Was this translation helpful? Give feedback.
The
depends: <module>
in module.yml is only ensuring:there are no build time dependencies between CMake targets created in the two modules.
Target dependencies to ensure correct build order must be controlled using CMake dependency handling, for example:
https://cmake.org/cmake/help/latest/command/add_dep…