Boost logo

Boost :

Subject: Re: [boost] [cmake] Pull request announcement
From: Peter Dimov (lists_at_[hidden])
Date: 2018-09-14 16:24:47

mike wrote:

> We are talking about 5-10 lines of cmake code + one line per dependency
> (the way I tend to format them).

I suggest you use my approach of including cmake/dependencies.cmake, which
is generated by `boostdep --cmake <libname>`. See f.ex.
(except without 45-49)

This would allow CMakeLists.txt to stay the same if dependencies change; it
also allows overwriting dependencies.cmake wholesale, something that could
potentially be automated in the future.

I (somewhat arbitrarily) chose to use boost::libname as imported target
name, not sure if Boost:: is better.

Boost list run by bdawes at, gregod at, cpdaniel at, john at