Replies: 1 comment 3 replies
-
Have you looked at this https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/application_development/external_lib ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are trying to build a cmake project that is required from our application, but we either need to implement it in a workaround-ish way or we get an error.
So I'm looking for suggestions about how to correctly implement this.
Approach 1 (which causes an error):
causes the following error:
Approach 2 (which looks like a workaround):
Basically the content of
${CMAKE_CURRENT_SOURCE_DIR}/../../libAtomVM/CMakeLists.txt
is duplicated on a "zephyr specialized" cmake file e.g.src/platforms/zephyr/src/libAtomVM/CMakeLists.txt
.I feel this is quite a work around since every change in the original cmake file has to be copied&pasted into the new file.
Beta Was this translation helpful? Give feedback.
All reactions