Boost logo

Boost :

Subject: Re: [boost] cmake target and binary name mangling
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-07-24 20:07:38


> Yea, I dont think we should mangle the logical target name at all. The user
> should be able to write `target_link_libraries(lib boost::foo)` and that
> should work for either static, shared, or header-only. Supporting multiple
> variants like shared and static in the same build tree are not supported with
> cmake, and creating workarounds to try and support them in the same build tree
> just creates problems. To build shared and static requires two build
> directories with cmake.

This is provably untrue.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk