From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-24 06:14:16
> Some questions, because I forgot the answers... What's the difference
> between <location> and <name> ? And therefore why use <location> instead of
> <name> in this case?
The <name> is used only in one context: when declaring searched libraries. The
<location> feature is used in stage. Finally, there's <file> feature used to
specify prebuilt target.
The <location> is used to stage because the value can be directory --- and
<name> would be (IMO) confusing.
What's best for symlink is a question. <name> looks better if you generate
symlink to current directory and <location> looks better if you need to
generate symlink in arbitrary directory.
> And a question for Volodya... Would the current syntax of:
> symlink hello_debug hellow_release : hello/<variant>debug
> hello/<variant>release ;
> Still need to be supported, or desired?
I initially though that it will be equivalent to:
symlink hello_debug : hello/<variant>debug ;
symlink hello_release : hello/<variant>release ;
which, just to clarify, would be the same as
symlink hello_debug : hello/<variant>debug : <location>hello_debug ;
symlink hello_release : hello/<variant>release : <location>hello_release ;
I'm now thinking it's better to allow only basic syntax. The reservation I
have about convenience versions is that they can make the interface
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