Files
JoyD/ESP32/my_usb_project/main/CMakeLists.txt

6 lines
306 B
CMake
Raw Normal View History

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")