Boost logo

Boost :

Subject: [boost] [build] referring to a tool from an external project
From: Eric Niebler (eniebler_at_[hidden])
Date: 2014-01-13 19:18:04

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 ;

make preprocess
  : preprocess.cpp $(W) : do_wave

I get:

> error: Unable to find file or target named
> error: '/boost/libs/wave/tool/build//wave'
> error: referred to from project at
> error: '.'
> error: could not resolve project reference '/boost/libs/wave/tool/build'

If I use this instead:

W = /boost//wave builds the wave dlls, not the command-line tool. So how do I tell
it to build the tool?

Eric Niebler

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