$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-10 02:49:12
On Wednesday 10 November 2004 01:14, Toon Knapen wrote:
> > Does fortran has concept of include files or some other module mechanism?
> > If not, I think this logic is not necessary for fortran.
>
> fortran also has an include directive.
OK.
> But you are talking about
> 'generated headers'. Do you mean precompiled headers or ... ?
No, I mean a header file which is produced by Boost.Build. For C++, the
example is parser generator such as bison -- it creates a header file which
might be included by sources. And since the header file is generated in
bin/...../ we need to add that path to include path.
> So you suggest I just use the standard generator (like in the VERBATIM
> example in the manual) ?
If fortran has includes, then the approach you've used if the right one.
> I have currently a working toolset for the gcc fortran compiler and plan
> to add one for the IBM fortran compiler tomorrow. Can I add them to the
> CVS or shall I first send them to you ?
Please commit them. This is pure extension and won't break anything; we can
sort out the details right in CVS.
Thanks,
Volodya