Boost logo

Boost-Build :

From: David Deakins (ddeakins_at_[hidden])
Date: 2007-11-19 17:50:00


David Deakins wrote:
> Is there a method in Boost.Build to specify link options that only apply
> to EXE link actions (but not to DLL link actions)?

I have not figured out any existing way to do this. Can I propose
adding the attached patches to tools\build\v2\tools\builtin.jam and
tools\build\v2\tools\msvc.jam? They create new 'exelinkflags' and
'dlllinkflags' features that can be used to pass options to the linker
command line specifically either for executable link actions or for dll
link actions. Does anyone have an objection to this? Or perhaps
someone has a different implementation in mind that might solve the
problem better?

Thanks,
-Dave





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