Subject: [boost] [cmake] Pull request announcement
From: Mike Dev (mike.dev_at_[hidden])
Date: 2018-09-19 08:19:32


> -----Original Message-----
> From: Boost <boost-bounces_at_[hidden]> On Behalf Of Peter Dimov via Boost
> Sent: Wednesday, September 19, 2018 12:03 AM
> To: boost_at_[hidden]
> Cc: Peter Dimov <lists_at_[hidden]>
> Subject: Re: [boost] [cmake] Pull request announcement
>
> mike wrote:
>
> > Anyway, this is precisely the reason, why my PRs try to stay clear of
> > anything more advanced than simple target declaration, static builds and
> > dependency information: Too many possibilities and opinions.
>
> I still don't understand your insistence on building static libraries when
> BUILD_SHARED_LIBS is ON. I mean, you have to go out of your way to override
> the default behavior (and the user's wish) to do so. What is your reasoning
> here?

You are right. I don't think any of my cmake files prevent shared libraries
via the BUILD_SHARED_LIBS option. It's just that when I use a shared library
I'm much more concerned about things like name mangling, versions, visibility
and so on and at the moment, my boost cmake files just don't care about those
things.