How to precompile libraries?

06 Jan 2011

I've added many user-developed libraries to my current project and it seems that each gets recompiled every time I build.

This repeated re-compilation is starting to take the "rapid" out of my rapid prototyping :-)

Is it possible for me to pre-compile one or more libraries?

It seems that this was done with, for example, Donatien's ethernet library. I'd like to do it with other libraries, as well.

Apologies if the info is posted somewhere on the site, but I searched to no avail.

06 Jan 2011

Hi Hexley,

The compiler will recompile everything by default at the moment, and this is the only option. The Ethernet library was a special case we built externally (partially as it was such a big library).

We will be working enhancing the compiler to support incremental builds soon. That is next on the list along with version control once the current beta goes live. When that is in place, everything should be more rapid :)

Thanks for the feedback. Very much helps us plan and check we're working on the right things.

Simon