From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-08-23 01:36:59
> 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.
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