Boost logo

Boost Users :

Subject: Re: [Boost-users] How to fetch boost libraries and their dependencies from github via CMake
From: Sergiu Dotenco (sergiu.dotenco_at_[hidden])
Date: 2015-05-29 09:29:46


On 29.05.2015 12:30, Gonzalo BG wrote:
> Dear all,
>
> I have a CMake project that requires some header-only boost libraries:
> - container, dynamic_bitset, math, units
>
> I would like CMake to always fetch automatically the latest version of
> these libraries and their dependencies from github as an external project.
>
> AFAIK FindBoost doesn't do this, is there maybe a different cmake script
> that does?

Have you looked into the ExternalProject module distributed with CMake?
http://www.cmake.org/cmake/help/v3.0/module/ExternalProject.html


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net