Boost logo

Boost-Build :

From: Mark Evans (evans_mark_at_[hidden])
Date: 2006-03-16 13:22:14


This is a dumb question:

>From an action rule, I need to get the pathname(s) of source file(s) that are in a dependent project outside of the current project. I need to generate command to remove an unwanted listing file this particular compiler produces in the same directory as the source file.

The command sequence would be something like:

ptal ../../foo/bar.tal
rm -f ../../foo/bar.L

How do I get "../../foo/bar.tal" in the compile rule for .tal files? I.e.,

rule compile.ptal ( targets * : sources * : properties * )
{
   # How to get actual path of $(sources) ????
}



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