From: Christopher Currie (Christopher_at_[hidden])
Date: 2003-08-06 16:03:02
> 1. I need to write two additional main targets:
> - doxygen target that generates the doxygen docs.
> - a lint main target, that runs lint, transforms the lint
> output using xslt and stores the results in a didicated
> directory outside of the source tree.
> Are there any tutorials available for these tasks or some
> easy example files? I found one that describes how to add
> a generator, but I guess creating another main target
> is more work and involves the use of jam classes?
Nothing exists yet; I've recently been working out how to do that
myself, so when I'm done I'll try and write up a quick tutorial (of
course, the recent changes in CVS may have made my work obsolete, so it
may take me a few days to get it right).
> 2. Are there commands or variables that return the current directory
> and the base directofy of the source tree (where
> project-root.jam" is located?
You can use the pwd rule for the first:
local mypwd = [ pwd ] ;
See new/path.jam. For the second, from what I can see, you can call
get-location on the project root.
local rootdir = [ project-root get-location ];
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