Re: [CMake] Shared library from sources in several subdirectories

2015-12-08 Thread Nils Gladitz
On 12/07/2015 11:51 PM, Bruce Stephens wrote: On Mon, Dec 7, 2015 at 9:08 AM, Nils Gladitz > wrote: I would avoid creating these single use, per directory libraries entirely. Well, creating the static libraries is obviously just an artifact of our curre

Re: [CMake] Shared library from sources in several subdirectories

2015-12-07 Thread Bruce Stephens
On Mon, Dec 7, 2015 at 9:08 AM, Nils Gladitz wrote: > I would avoid creating these single use, per directory libraries entirely. > > Well, creating the static libraries is obviously just an artifact of our current build scheme, so it makes sense to ditch it. Creating these CMake object libraries

Re: [CMake] Shared library from sources in several subdirectories

2015-12-07 Thread Nils Gladitz
On 12/04/2015 03:05 PM, Bruce Stephens wrote: Any suggestions on how to organise that? Presumably there are lots of examples in (for example) KDE, but I'm not familiar enough with that codebase to be able to find them easily. Currently our GNU Make build builds static libraries in the subdire

[CMake] Shared library from sources in several subdirectories

2015-12-04 Thread Bruce Stephens
Any suggestions on how to organise that? Presumably there are lots of examples in (for example) KDE, but I'm not familiar enough with that codebase to be able to find them easily. Currently our GNU Make build builds static libraries in the subdirectories, then those are put into a big static libra