Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-01-22 16:54:33


Hi,

I'm compiling Fortran 90 with bjam and want to set a compile flag for
the Sun F90 compiler to tell it where to search for the Fortran 90
modules. Sun's F90 compiler has this flag, -moddir=path, that will
let me do this. Is there a bjam variable that I can access that has
the target's output directory for the currently building target? If
I could get the output directory from bjam, I could pass it to the
compiler like this.

project contact
        : requirements
        <toolset>sun:<fflags>-moddir=$(target-output-directory)
   ;

This would be really handy. Any ideas if or how this can be done?

-- Noel Belcourt


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