Boost logo

Boost :

Subject: Re: [boost] Interface for configuring third-party dependencies
From: Sergey Popov (loonycyborg_at_[hidden])
Date: 2010-10-23 22:19:14


On Sat, 23 Oct 2010 16:22:37 +0400
Vladimir Prus <vladimir_at_[hidden]> wrote:

> - Build system has to replicate path search logic of all compilers,
> - It's possible to ask the compiler where the header was found
> - Build system ignores any path search compiler might do, locates the
> headers/libraries on its own, and the forces the compiler to use them.
You can also compile a test program that uses whatever version macros
the library offers(e.g. boost's BOOST_VERSION) to test the version and
 fail to compile if version is too old. That'll avoid the need for the
build system to find the header.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk