Boost logo

Boost :

Subject: Re: [boost] Modularized Boost: How the files in libs/libXX must be included?
From: Daniel Pfeifer (daniel_at_[hidden])
Date: 2012-08-19 12:36:24

2012/8/18 Vicente J. Botet Escriba <vicente.botet_at_[hidden]>:
> Hi,
> the following ticket report an
> issue while building Boost.Thread using the modularized cmake.
> What is the correct way to include the files in lib/libXXX?

Hi Vicente,

Where is the file included from?

If it is included from a public header, then files from lib should not
be included at all. They should be made public too.

If it is included from a test, then the library must not assume that
it lies inside a folder named "lib", which is the case with
Instead, the include directories of the test should be adapted to
include either the library's source directory or its root directory.
The relevant header file then should be included relative to that path.


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