Boost logo

Boost-Build :

Subject: Re: [Boost-build] Install target and projects
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-02-15 12:25:44


On Monday 15 February 2010 19:27:40 Steven Watanabe wrote:

> AMDG
>
> Andreas wrote:
> > Now, there's a next question. I have a Jamfile:
> >
> > project doastools
> > ;
> >
> > exe aspmath : aspmath.cpp
> > /boost/program_options//boost_program_options
> > ;
> >
> > install tools
> > : doastools
> > : <variant>release:<location>../../bin/release
> > <variant>debug:<location>../../bin/debug
> > ;
> >
> > Obviously, I'm missing something pretty basic about projects and how
> > to use them ... Any ideas?
>
> Project names have a leading /. Try
>
> install tools
> : /doastools
> : ...
> ;

Also, I do hope the 'tools' target is actually not part of the 'doastools' project,
as otherwise you're looking for infinite recursion. Boost.Build will detect it
and complain ;-)

HTH,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: 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