Subject: Re: [boost] cmake target and binary name mangling
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-07-24 20:11:09
>> 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.
> As we already discussed, sl/dl/hl have the problem that when a
> non-header-only library links to a header-only one which in turn links
> to a non-header-only one, the sl/dl of the first one should propagate to
> the third, which is problematic if the second has to be -hl.
As we also previously discussed, the easy way out of that is to enforce
all header, all static or all shared.
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/