$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-08-23 01:36:59
Hi Toon,
> I added an extension module 'f.jam' to be able to compile fortran
> sources with bjam version 2. Now I also tried to add requirements for
> include files but I did not find a way to make it work. What I did in my
> f.jam is:
>
> import toolset : flags ;
> flags f.compile INCLUDES <include> ;
>
> and than use the $(INCLUDES) variable on the command-line where the
> fortran compiler is invoked. But the INCLUDES variable remains empty.
> Any ideas how I can solve this?
Easy, the action you use for compiling is called 'inline-file', but you set
the flags for action 'compile'. If you search-replce 'inline-file' with
'compile' in f.jam, things will work ok.
HTH,
Volodya