[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Common Source code

From: Warren Young
Subject: Re: Common Source code
Date: Wed, 10 May 2006 18:21:34 -0600
User-agent: Thunderbird (Windows/20060308)

Paulo J. Matos wrote:
I see two ways: Creating yet another library and then link it with
lib1 and lib2 and later link to the main code lib1, lib2 and

That's what I do.

It's really no different than linking your programs to, for instance, the GNOME libraries, which just happen to use the autotools. They're separate things, so there's really no incentive to try and put them into a single big tree.

The only downside of this is that every now and then you run into some situation that requires rebuilding all of the libraries -- moving to a different machine, if nothing else -- and it's a little more work to build several separate libraries before tackling your main project. In practice, it really isn't a big issue.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]