Files
esp-idf/tools/cmakev2/test/components/component1/CMakeLists.txt
T
Frantisek Hrbata 3dfc8cdc49 feat(cmakev2/test): add simple test for component include
Add two project components, component1 and component2, and verify that
their real targets are created when they are included.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-10-30 17:17:49 +08:00

3 lines
127 B
CMake

add_library(${COMPONENT_TARGET} component1.c)
target_include_directories(${COMPONENT_TARGET} PUBLIC ${CMAKE_CURRENT_LIST_DIR})