Boost logo

Boost-Build :

Subject: Re: [Boost-build] hierarchical install ?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-08-28 10:30:47


Avi Bahra wrote:
> I have a directory hierarchy. In some of my sub directories I have exe
> that i want to install. In the jam file I have:
> install install : client : <location>$SMS_INSTALL_DIR ;
> explicit install ;
> So if I am in that directory I do:
> bjam install
> hey presto, everything works.
> However I now want to do the same thing at the top level.
> If I do bjam install at the top level, i get:
> notice: could not find main target install
> notice: assuming it is a name of file to create.
> don't know how to make <e>install
> ...found 1 target...
> ...can't find 1 target...
> Is there an easy way to get bjam to install hierarchically ?

Each Jamfile needs to list the subprojects to install.

alias install : subdirectory1//install subdirectory2//install ;
explicit install ;

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at