|
Boost-Build : |
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-04-25 14:35:32
>"DrAnonymous" <antamiga_at_[hidden]> skrev i meddelandet
> >news:a20453c10704251021y3a739f1bw7103890f07d06bfb_at_mail.gmail.com...
>I have the following dir structure -
>
>Jamroot
>exes
>--myExecutable
>src1
>--Jamfile
>--srca.cpp
>--srcb.cpp
>src2
>--Jamfile
>--srcz.cpp
>--srcx.cpp
>includes
>--includea.h
>--includeb.h
>
>I can't figure out how to alter Jamroot to include the includes directory
>for all the subprojects. I tried:
>
>project myTools : requirements <source>./includes ;
>
>and
>
>project myTools : requirements <include>includes ;
>
>
>Neither works and the first one has an error.
Try something like this in your Jamroot (can't try it myself right now):
path-constant MYINCLUDES : includes ;
project myTools : requirements <include>$(MYINCLUDES) ;
(but the second alternative you wrote should work if you build from the root
directory)
/ Johan
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