Boost logo

Boost-Build :

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" against the java file so I
can find where the javac will save the class file compiled. For the
little I know about 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, david.abrahams at, gregod at, cpdaniel at, john at