CMake: reuse object files built for a lib into another lib target
You can use the new OBJECT library feature introduced in CMake 2.8.8. The idea is explained here. Basically, the OBJECT library is a similar concept to the convenience library known from Autotools to group object files. Check the complete CMake OBJECT library tutorial.