From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-07-25 07:30:48
Anthony Novatsis wrote:
> Hello Roland,
> Using "import /path/to/file/my-tool ;" is what I originally tried (see
> original post) but it doesn't work.
> The error is as follows (a rule defined within the module is not found):
> /opt/boost-build/kernel/modules.jam:66: in modules.call-in
> rule my-tool.some-rule unknown in module my-tool.
I think the problem is that the above 'import' manages to use '/path/to/file/my-tool'
as the name of the module, not 'my-tool'.
I think the easiest solution is to arrange your boost-build.jam to add /path/to/file
to the front of the BOOST_BUILD_PATH variable and then use:
import my-tool ;
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk