|
Boost : |
Subject: Re: [boost] [cmake] Minimum viable cmakeification for Boost
From: Peter Dimov (lists_at_[hidden])
Date: 2017-06-20 12:16:30
"P F" wrote:
> So I setup a repo to build and install Boost.System as well, here:
>
> https://github.com/pfultz2/boost-cmake-demo
You're listing the dependencies three times in three separate locations,
which will be error-prone and is harder to automate (unless the whole
CMakeLists.txt is generated with boostdep.)
You should be able to have dependencies.cmake with
some_macro(dep1)
some_macro(dep2)
(or some_function) and then use that appropriately in CMakeLists.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk