$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] generating a header file
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-11-06 11:36:57
On Monday, November 01, 2010 20:30:59 Jonathan Brannan wrote:
> hpp Foo : Foo.rbhpp ;
> and having a <dependency>Foo did the trick.
>
> If I put Foo.rbhpp (or Foo) in the sources I get a bunch of:
>
> error: No best alternative for
>
> Now I need to know how tell my object to look for the Foo.hpp header in the
> correct build directory path. doing <include>Foo did not work, that just
> came out to -I"Foo"
Try using <implicit-dependency>Foo as opposed to <dependency>Foo, as
documented in the manual.
As for "No best alternative" error -- would be nice if you post the complete
project exposing this problem.
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2