Search found 12 matches

by pinock
Fri Oct 18, 2019 8:31 pm
Forum: ESP32 IDF
Topic: What is CMake equivalent for a prebuilt third-party library?
Replies: 9
Views: 1559

Re: What is CMake equivalent for a prebuilt third-party library?

Hi buddy. I've been trying for three months. i don't get any results. Do you have any working examples?

https://esp32.com/viewtopic.php?f=13&t=12733
by pinock
Thu Oct 17, 2019 12:35 pm
Forum: ESP32 IDF
Topic: ESP32 CMake, How to add my own static library file to project? (ESPIDF v4.1dev)
Replies: 7
Views: 1844

ESP32 CMake, How to add my own static library file to project? (ESPIDF v4.1dev)

I added the following two lines to CMakeLists.txt add_library(BCXConfiguration STATIC IMPORTED) set_property(TARGET BCXConfiguration PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/libs/libBCXConfiguration.a) but when I compile it gives the following error undefined reference to `BakelorEDK::...

Go to advanced search