|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-05-28 15:13:22
Andrey Semashev wrote:
> The CMakeLists.txt that is in the root library directory is used when the library
> is built or consumed by users. So, the PRIVATE dependencies are those
> required to build the library (but not to consume it) and PUBLIC - those
> required to consume it. IOW, the dependencies from source files normally go
> in PRIVATE section and from headers - in PUBLIC.
Yep. boostdep --cmake does this automatically for compiled libraries - the
dependencies from include/ are marked PUBLIC and those from src/ are marked
as PRIVATE. This doesn't apply to Geometry because it's header-only.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk