|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-11 01:56:39
Roland,
I thought about your patch and existing code.
First note, already mentioned on IRC, is that I really don't like
<name>+<real-name> -- this is fairly confusing. I do think we should
be using <tag> -- for ordinary targets the name of target
is some 'base name' while <tag> is a hook to transform the name
according to properties. I think the same interface makes perfect sense
for a prebuilt library too.
Second, while reviewing your patch I noticed that searched-lib-target
is very crazy -- it has both 'name' and 'real-name' properties, where 'name'
is not used in any particular way. While fixing that, I've managed to make
<tag> work for searched lib target. The patch is attached.
I also attach test Jamroot that *almost* works -- we only need to strip 'lib'
from the library names, as 'libboost_program_options-NNNN' is right name
for created library, but we need 'boost-program_options-NNNN' on
the linker command line.
What do you think?
- Volodya
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