Boost logo

Boost-Build :

Subject: [Boost-build] creating a second linker target, map output from the linker
From: Joshua Napoli (jnapoli_at_[hidden])
Date: 2012-08-30 21:14:11


I'd like to output a map file from the gcc linker to the bin directory. I
can easily output a map file to the source directory like this:

exe demo
  : # sources
    ...
  : # requirements
    <linkflags>"-Xlinker -Map=demo.map"
  ;

But how can I compute the bin output directory when adding the linkflag?



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