|
Boost : |
Subject: Re: [boost] [build][testing] Auto-generated tests not present in reports
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-24 14:49:11
AMDG
On 03/24/2014 11:17 AM, Andrey Semashev wrote:
>
> The problem is the headers are in multiple subfolders inside
> boost/log, so if I remove the directory, name clashes will appear. For
> instance, there are boost/log/core/record.hpp and
> boost/log/expressions/record.hpp.
>
> I could try replacing '/' with some other delimiter. Any suggestions
> on a safe replacement candidate?
>
I believe I used "_". I remember this generates a
couple conflicts if you try to use it on the
entire Boost tree, though. My code for this
is in libs/units/test_headers/Jamfile.v2.
Note that I never tried to include this in
the regression tests.
> Also, another idea. Is it possible that $(BOOST_ROOT) is not defined
> by testers? If so, is there a bullet proof way to know the root of
> Boost checkout or my library?
>
BOOST_ROOT is defined by Jamroot and is
inherited by all projects in the Boost
tree. It will be defined. You could also use
path-constant here : . ;
which gives you the directory of the Jamfile.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk