(0000258)
|
xclerc
|
2012-08-29 20:26
|
|
Well, ocamlbuild integration is not that easy because Mascot does not
call preprocessors as external command but (when camlp4-based)
loads them in its very process. So, having multiple preprocessors is not
easy.
In an attempt to try to provide the basic building blocks to satisfy your
needs, two new features have been added:
- a 'binary' output mode that store the result of an analysis;
- a '-report-only' command-line switch that make Mascot work
on binary files rather than sources file as input.
The combination of these features allows to combine partial analysis into
a single report.
Back to your feature request: you should design a script taking the
'_build/_log' file and extracting from it the list of compiled source with
their relative preprocessors. Then run Mascot on each file, and latter
combine the analysis done independently on the different files. |
|