Boost logo

Boost :

Subject: Re: [boost] [build] referring to a tool from an external project
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-01-13 23:01:09


AMDG

On 01/13/2014 04:18 PM, Eric Niebler wrote:
> I'm trying to write a jamfile in an external project that uses boost.
> The jamfile should invoke the wave tool to preprocess some code as a
> build action. I have this:
>
> actions do_wave
> {
> $(>[2]) -o- --config-file wave.cfg $(>[1])
> }
>
> W = /boost/libs/wave/tool/build//wave ;
>

Either you need to give the path to
the wave project:

W = $(BOOST_ROOT)/path/to/wave//wave ;

or you need to declare this project-id somewhere:

use-project /boost/libs/wave/tool/build : $(BOOST_ROOT)/path/to/wave ;

Alternately, the wave Jamfile can be modified to give itself an id:

project /boost/libs/wave/tool/build ;

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