From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2008-07-01 02:35:49
David Deakins wrote:
> When running the Boost regression tests on Windows Mobile, it is
> necessary to explicitly specify the entry point for the test executables
> to get them to link properly. However, this entry point can only go in
> the linkflags for executables; DLLs should use their standard entry
> point. I did not see any existing method for specifying
> 'executable-only' linkflags, so I am proposing to add two new features
> to builtin.jam: exelinkflags and dlllinkflags. As you would expect,
> exelinkflags are additional settings passed to the linker for only EXE
> targets and dlllinkflags are settings passed to the linker for only DLL
> targets. Attached are patches showing the relatively minor proposed
> additions. Let me know if there is any opposition to this; otherwise I
> will go ahead and check it in.
It should be possible to use type of main target inside conditonal
We already have <main-target-type>, but it's added *after* conditional
requirements are processed.
I think you should not add any feature just because you need it.
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