6 lines
306 B
CMake
6 lines
306 B
CMake
|
|
idf_component_register(SRCS "my_usb_project.c"
|
||
|
|
INCLUDE_DIRS "."
|
||
|
|
PRIV_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../rust_app")
|
||
|
|
|
||
|
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/../rust_app/target/xtensa-esp32s3-none-elf/debug" "-lrust_app")
|