|
Boost-Build : |
From: Schnyder Franz (fschnyder_at_[hidden])
Date: 2005-11-17 17:36:00
Hello
I have some C++ source and header files which i would like to
'instrument' before they are compiled. The processing is done by a
script and the resulting files are put in an other directory:
sources = [ glob org/*.cpp org/*.hpp ] ;
addDumpInfo instrumented_sources : $(sources) ;
exe Appl : instrumented_sources ;
I couldn't figure out how to do this with BJam V2. Can I somehow write a
generator where source type and the target type are the same?
I tried to copy and modify the install rule but had the problem, that
when an original header file was newer than one of the original source
files with used that header, bjam always 'instrumented' that file.
Thanks,
- Franz
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