From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-25 10:42:42
Christopher Currie wrote:
> Quick question: I have a tool that generates header files, and those
> files are placed in the bin/<toolset>/<properties>/.../ tree just like
> all other built targets. Is there an easy (and portable) way to add that
> directory to the include path for a target?
Yes. If source from which the header is produced in withing the same main
target as the source which includes them, it's done by magic (i.e.
automatically). Otherwise, use <implicit-dependency> feature
lib something : some_file.xxx ;
lib user : user.cpp : <implicit-dependency>something ;
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