How to compile library BuildLibrary with main builder, but without link LIB to project
I want to export to this LIB - veneers of std functions
and currently there is duplication of function and veneer
the compiler doesn’t “cry” but it is worrying
def REMOVE_LIBRARY(source, target, env):
for N in env["LIBS"]:
if "libopenapi.a" in str(N) :
env["LIBS"].remove(N)
env.AddPreAction("$BUILD_DIR/${PROGNAME}.elf", REMOVE_LIBRARY)
but how to hide action info from terminal - print function name, source and target
...
Building in release mode
REMOVE_LIBRARY([".pio\build\MT\FIRMWARE.elf"]....
...
Ahh, actually this is should just be the output in the verbose build mode because any function that is used with env.AddPreAction() is printed that way. Does this output still appear with a regular build, not an advanced → verbose build?