kolban wrote:It should be that the source of a component is only compiled/recompiled when the source of it changes. Are you asking about creating "libraries" of pre-built components as opposed to the idea of compiling a single component?
The down-side of building a pre-made library is that the component code leverages per project configuration from "make menuconfig". If you compile a component using one SDKCONFIG that may not match the settings in an SDKCONFIG for your current project and time spent hunting that down would wipe away (and then some) any small workflow improvements.
This all said ... I'd still love to hear your thinking ... it is VERY possible that you are seeing something I don't and you are on to a good thing.
Hi Kolban, ESP_Angus,
Thanks for yor advices, they are very informative!
My goal is eventually port this brain burning library
Open62541 (related question is
HERE)
My question is actually this one:
This library deployed cmake to build itself first, after successful build, though I'v got my "libopen62541.a", but its header file is not generated ("open62541.h"). When I wanna include this header file in other units, I just surely can not pass the compiling. This is my
component.mk. Is something still missing?
Thanks
Gfast2