|
Boost-Build : |
From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-09-27 14:37:48
Zbynek Winkler wrote:
> 1) Why does bb2 expect the target to be in directory "bin/debug"? How
> can I control this? I know I can change the 'bin' part by using 'project
> : build-dir something ;' -- how do I 'remove' the 'debug' part?
Short answer - you cannot control it. The directory name is constructed
from the actual feature set is used. By default ('bjam --v2') debug
variant is built. That is why you get bin/debug. But a user may pass
more features and the build directory will become /bin/debug/foo/bar.
> 3) I'd like to unconditionaly change to the output directory before
> executing pdflatex and then back again.
IMO it is a bad idea. BB expects that the current directory will not be
changed and all filenames used by invoked tools will include path:
actions
{
tool foo/bar/somefile.ext
}
But not
actions
{
cd foo/bar
tool somefile.ext
cd ../..
}
> 3) When using the example scanner from documentation I am missing the
> proper extensions since they are not in the scanned file. When using the
> \includegraphics{something} pdftex searches for file something.ext where
> ext is taken form a list of extensions. The first one that matches is
> used. How would I do this in bb2?
You can try to generate all possible names from single file name and
establish dependencies on all of them.
Best regards/Venlig hilsen,
Alexey Pakhunov.
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