-
To Reproduce [0]: cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(zephyr_avm_platform_app)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../CMakeModules")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../libAtomVM" "build")
target_sources(app PRIVATE src/main.c) [1]:
libAtomVM/CMakeLists.txt contains the following cmake statement: add_library(libAtomVM ${SOURCE_FILES} ${HEADER_FILES})
target_include_directories(libAtomVM PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_features(libAtomVM PUBLIC c_std_11) Expected behavior Impact Environment:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @bettio! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
If you want to build the library separately, then you'd need to use |
Beta Was this translation helpful? Give feedback.
-
No, this is not true. That is for zephyr libraries and code, you can't just include any random cmake project and expect it to work, it will not.
The current behaviour is by design and expected, it will not be changed in future. |
Beta Was this translation helpful? Give feedback.
No, this is not true. That is for zephyr libraries and code, you can't just include any random cmake project and expect it to work, it will not.
The current behaviour is by design and expected, it will not be changed in future.