s seelenluft wrote:
> On Fri, Jul 3, 2009 at 6:20 PM, Steven Watanabe <
watanabesj@...>wrote:
>
>
>> The easiest solution is to put it in user-config.jam or site-config.jam.
>
>
> Thanks, can you help me with the syntax there, I had
>
> exe myname
> : myname.cpp
> : <include>.
> :<include>/usr/local/include/boost-1_39/
> ;
I don't think this is right. Per:
http://www.boost.org/boost-build2/doc/html/bbv2/advanced/targets.htmlthe syntax is:
rule-name (
main-target-name :
sources + :
requirements * :
default-build * :
usage-requirements * )
So you should have:
exe myname
: myname.cpp
: <include>.
<include>/usr/local/include/boost-1_39/
;
>
> in my Jamroot file. Putting just
>
> <include>/usr/local/include/boost-1_39/
>
> (with or without a trailing semicolon) just below my 'darwin ;' entry in
> user-config.jam does not work.
You need to use project requirements in user-config.jam, see:
http://www.boost.org/boost-build2/doc/html/bbv2/advanced/projects.htmlFor example:
project user-config : requirements <include>/usr/local/include/boost-1_39 ;
- Volodya
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users