25 Jul
2017
25 Jul
'17
10:01 p.m.
Niall Douglas wrote:
I think you're overcomplicating things.
If a header only library has a dependency on a non-header only library capable of either static or shared usage, then the header only library simply advertises itself as having static or shared usage only. Not header only.
In other words, header only targets means "nothing to link if you use this". Does this make sense now?
The implication is that when a library changes from header-only to static/shared, all dependent libraries need to change themselves to static/shared too.