Boost logo

Boost-Build :

Subject: Re: [Boost-build] creating multiple targets
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-10-11 14:29:42


AMDG

Stefan Zimmer wrote:
> I have some projects, managed in an workspace like this:
>
> Jamroot ( workspace )
> - Lib1
> - Jamfile
> - Lib2
> - Jamfile
> - exe1
> - Jamfile
> - exe2
> - Jamfile
>
> Everything works fine, except that I want to have a target in my Jamroot, to build all executables with one strike. I want to go to my workspace folder and type something like bjam all, and exe1 and exe2 will be created.
>
> How can I do that?
>

Use the alias rule:

alias all : exe1 exe2 ;

In Christ,
Steven Watanabe


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