10 lines
224 B
CMake
10 lines
224 B
CMake
|
|
set(CMAKE_C_COMPILER gcc)
|
||
|
|
set(CMAKE_CXX_COMPILER g++)
|
||
|
|
|
||
|
|
idf_component_register(
|
||
|
|
SRCS "rust_app_wrapper.c"
|
||
|
|
INCLUDE_DIRS "."
|
||
|
|
)
|
||
|
|
|
||
|
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR} -lrust_app")
|