Subject: [Boost-build] How to match a regular expression against a source file
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2012-02-25 10:59:56
I'm trying to create a java toolset for Boost.Build, and I need to
return a match for "package package.name" against the java file so I
can find where the javac will save the class file compiled. For the
little I know about boost.build it seems I should do this matching in
generated-targets in my generator, so I can create the file-target
with the correct path.
But I have no idea how to run this regular expression. I've seen
HDRSCAN, but it doesn't seem it will return the matches before the
call to generated-targets.
Any help would be appreciated,
-- Felipe Magno de Almeida
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