From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-08-16 04:34:11
Toon Knapen wrote:
>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
>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?
The name f.compile refers to the tool f (f.jam) and the associated action
compile. The action if f.jam is declared as
So you would need:
flags f.inline-file INCLUDES <include> ;
This should work.
It's fast, it's easy and it's free. Get MSN Messenger today!
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