From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-26 05:16:20
On Wednesday 26 April 2006 13:01, ANDREW MARLOW, BLOOMBERG/ LONDON OF wrote:
> No. (b)jam has insufficient support for FORTRAN,
> at least last time I looked. It needs to be able
> to calculate build dependencies by processing
> include stmts, similar to what it does for #include
> with C and C++ source. And of course, as in C/C++,
> a FORTRAN header may include one or more other FORTRAN headers.
Adding dependency scanning for fortran should be easy to somebody who knows
the syntax. The c scanner in builtin.jam is a good base, so one has to move
declaration of fortran type of tools/types/fortran.jam, copy-paste the c
scanner to that file, and adjust the regular expressions used for scanning.
Of course, I can help with that, but I'm not sure I even have fortran compiler
anywhere, so can't do it myself.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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