Page 1 of 1

Sample CMake of Make instruction to include library in build

Posted: Fri Jan 03, 2020 11:13 pm
by Jan van Mastbergen
Hi,

Can someone point me to an instruction or sample to include an external library (provided as source code, i.e. u8g2) in the build of a small test program? So far the documentation has not been helping. I do have some experience with regular Make but in the esp-idf environment both build systems are giving me a hard time. Consider a simple hello-world program as the starting point.
My environment is Windows10/64 and I can build examples in both the MSYS2 environment and with the ESP-IDF Tools v2.2 kit. I am mostly working in the Eclipse CDT but as yet without any ESP-IDF plugins.

Kind regards, Jan van Mastbergen