Figured out a way to do this, posting to potentially save someone else a couple days. Solution was to pretty much ignore CMake on its own and present the library as an IDF component local to the project.
- Make a "components" directory in your project root.
- Put the library source tree in the ...
Search found 2 matches
- Sat Dec 14, 2019 7:18 am
- Forum: ESP-IDF
- Topic: Add non-cmake source library to project build?
- Replies: 4
- Views: 7854
- Fri Dec 13, 2019 4:57 am
- Forum: ESP-IDF
- Topic: Add non-cmake source library to project build?
- Replies: 4
- Views: 7854
Add non-cmake source library to project build?
Howdy,
I'm trying to use libfixmath (a plain Makefile based library) in a simple project derived from the blink example, but not having much success in finding the correct incantations for CMakeLists.txt.
I have the libfixmath source tree in my project root directory (no idea if this is correct ...
I'm trying to use libfixmath (a plain Makefile based library) in a simple project derived from the blink example, but not having much success in finding the correct incantations for CMakeLists.txt.
I have the libfixmath source tree in my project root directory (no idea if this is correct ...