Boost logo

Boost :

Subject: Re: [boost] Critical. Help required. Boost.DLL Jamfile breaks testing with multiple toolsets
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-09-04 13:38:22


AMDG

On 09/04/2015 11:12 AM, Antony Polukhin wrote:
>
> There's a big problem with Boost.DLL's Jamfile which I do not know how to
> fix.
>
> Introduction
> Tests of Boost.DLL create multiple *.so files and install them to a
> specified TEST_DIR path. Tests consume that TEST_DIR path and search for
> *.so in there:
>
> path-constant TEST_DIR : $(BOOST_ROOT)/bin.v2/libs/dll/test ;
>

Don't do this. In addition to the problem
that you're having, this effectively
overrides a command line build-dir option.

Instead of passing the directory, you
should pass the targets, like this:

run shared_library_load_test.cpp
 : # args
 : getting_started_libary test_library
 ;

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