On Saturday, 7 September 2013 00:12:29 CEST, Pali Rohár wrote:
Problem with relinking is because output from git describe is compiled as string into AppVersion library. So any target will depends on AppVersion will be recompiled/relinked. And if there will be one shared library it means that every test target will needs to be relinked very time when git describe will change (e.g clean git tree to dirty or new checkout/commit).

This one is easily doable by moving the version string into the exectuables. What cannot be avoided is the cost of making the big .so from smaller pieces. I obviously have no hard data, but I expect that linking together 172 .o files into a single .so will bring a rather annoying delay. But perhaps I'm wrong and this comes with cost that is close to zero -- I don't really know.

Someone should probably try this.™

Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to