-----Original Message----- From: Boost
On Behalf Of Peter Dimov via Boost Sent: Wednesday, September 19, 2018 12:03 AM To: boost@lists.boost.org Cc: Peter Dimov 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.