Closed shecker closed 10 months ago
This should work:
cmake_minimum_required(VERSION 3.3)
file(GLOB_RECURSE SOURCES "src/*.cpp" "src/*.c")
idf_component_register(SRCS ${SOURCES}
INCLUDE_DIRS "src"
REQUIRES arduino)
Hello,
I would like to use the blynk-library as a component in the esp-idf framework. I also use the arduino-esp32 component for Arduino compatibility. However, I am unable to link the blynk-library properly when using esp-idf are there any instructions on how to setup the CMakeList.txt file for the blynk-library?
Currently my CMakeList looks like this:
Thanks!