Re-using compiled libraries

I have 2 libraries A and B which are submodules to my main project C. To build C, I need to use compiled versions of A and B, with every build. Is there a way to re-use the compiled versions of A and B across builds, to prevent re-compilation and speed up build time?

Thanks for any assistance!

Sure. Most people use some sort of asset server like artifactory, or you could hack something with jenkins artifacts.