In case of a project with multiple (tens) of environments that all have same platform
and framework
defined, framwork libraries get recompiled for every iteration of environment. Same happens for libraries used by all those environments.
While this results in clean builds, it wastes a lot of resources and time compiling the same thing all over again.
Is there any way to cache frameworks and libraries between multiple environments?
I was thinking of compiling a dummy image, the copy .pioenv/dummy/FrameworkArduino
to .pioenv/{target}/FrameworkArduino
but it just doesn’t feel right and I don’t think it would work.
What would be “standard” way of caching frameworks and/or libraries?