20 Jun
2017
20 Jun
'17
1:44 p.m.
On Jun 20, 2017, at 7:16 AM, Peter Dimov via Boost
wrote: "P F" wrote:
So I setup a repo to build and install Boost.System as well, here:
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.)
I agree, which is why I wrote BCM to take care of this part. Especially, since without it, there would be another list of dependencies to support pkgconfig.
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.
Ideally, I can just create a list with dependencies and then iterate over them. I’ll try to add that to the repo.