|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-16 07:59:12
On Thursday 16 June 2005 16:54, David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > On Thursday 16 June 2005 16:04, David Abrahams wrote:
> >> Vladimir Prus <ghost_at_[hidden]> writes:
> >> > Rene also noted that it's no way to install a specific boost library
> >> > by going to it's libs/whatever/build and running "bjam install".
> >> > What's the best way to address this:
> >> > [ ] Introduce new top-level rule 'declare-install-targets' that each
> >> > library Jamfile will call (pretty easy)
> >>
> >> If you call the rule "install," I'm on board.
> >
> > 'install' is already taken main rule name. Maybe 'boost-install'?
>
> Okay, but what's the difference between the semantics of the rule
> you're proposing and what "install" already does?
"install" moves specified targets to a specified location, and does not
care about --prefix options, and about anything user specifies on the command
line.
The "boost-install" rule will allow user to invoke "bjam install" and "bjam
stage" with exactly the same arguments that are allowed at top-level, like
--prefix, or --layout. With "bjam install" both library and headers will be
installed.
Essentially, "bjam install" in lib dir will be equivalent to
cd $boost_root
bjam install --with-<the-library>
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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