Boost logo

Boost-Build :

From: Jonathan de Halleux (dehalleux_at_[hidden])
Date: 2003-06-23 07:58:02


Thank your answers solved my worries.

Others questions:

1) How do you handle precompiled headers with bjam ?

And again, thks for the help.

At 07:52 23/06/2003 -0400, you wrote:

>Hi Jonathan,
>
>It's probably better to post your Boost.Build questions on the
>jamboost list (cc:'d here).
>
>Jonathan de Halleux <dehalleux_at_[hidden]> writes:
>
> > Hy all,
> >
> > I want to use bjam as build tool for my application. Therefore I have some
> > specific questions about jam and bjam:
> >
> > 1) Suppose I want to compile all .cpp files in a particular directory, how
> > do I tell bjam to do it ?
>
>There's a built-in rule called GLOB which can, well, glob. Putting
>
> [ GLOB $(directory) : *.cpp ]
>
>
>in your list of sources should work.
>
>
> > Here are three question closely related:
> > 2) Is there a way to modify the output tree hierarchy created by
> > bjam ?
>
>You can set ALL_LOCATE_TARGET to change the root. Otherwise, no.
>
> > 3) Is there a way to modify the output filename format. For example,
> > bjam adds a "lib" to the lib projects. Is this customizable ?
>
>Rene? I think you're the one to address this...
>
> > 4) Is it possible to tell bjam to compile projects and "centralize"
> > binaries and lib in one single directory ?
>
>You can use the 'stage' rule. See
><http://www.boost.org/tools/build/build_system.htm#stage_targets.>http://www.boost.org/tools/build/build_system.htm#stage_targets.
>
>--
>Dave Abrahams
>Boost Consulting
>www.boost-consulting.com
>
>
>Yahoo! Groups Sponsor
>
>Info: <<http://www.boost.org>http://www.boost.org>
>Wiki:
><<http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
>Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
>Your use of Yahoo! Groups is subject to the
><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.

-----------------------------------------------------------------------------------
Jonathan de Halleux, Research Assistant
Center for Systems Engineering and Applied Mechanics (CESAME)
Universite catholique de Louvain
Batiment Euler , Av. Georges Lemaitre, 4 Tel : +32-10-47 2595
B-1348 Louvain-la-Neuve Belgium
E-mail : dehalleux_at_[hidden]
-----------------------------------------------------------------------------------
 --MIMEStream=_0+108178_0736857034240_39412912381 Content-Type: text/html; charset="us-ascii"; name="unnamed.html"

<html>
<body>
Thank your answers solved my worries.<br><br>
Others questions: <br><br>
1) How do you handle precompiled headers with bjam ?<br><br>
<br>
And again, thks for the help.<br><br>
At 07:52 23/06/2003 -0400, you wrote:<br><br>
<blockquote type=cite class=cite cite><tt>Hi Jonathan,<br><br>
It's probably better to post your Boost.Build questions on the<br>
jamboost list (cc:'d here).<br><br>
Jonathan de Halleux &lt;dehalleux_at_[hidden]&gt; writes:<br><br>
&gt; Hy all,<br>
&gt;<br>
&gt; I want to use bjam as build tool for my application. Therefore I
have some <br>
&gt; specific questions about jam and bjam:<br>
&gt;<br>
&gt; 1) Suppose I want to compile all .cpp files in a particular
directory, how <br>
&gt; do I tell bjam to do it ?<br><br>
There's a built-in rule called GLOB which can, well, glob.&nbsp;
Putting<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ GLOB $(directory) : *.cpp ]
<br><br>
<br>
in your list of sources should work.<br><br>
<br>
&gt; Here are three question closely related:<br>
&gt; 2) Is there a way to modify the output tree hierarchy created
by<br>
&gt; bjam ?<br><br>
You can set ALL_LOCATE_TARGET to change the root.&nbsp; Otherwise,
no.<br><br>
&gt; 3) Is there a way to modify the output filename format. For
example,<br>
&gt; bjam adds a &quot;lib&quot; to the lib projects. Is this
customizable ?<br><br>
Rene?&nbsp; I think you're the one to address this...<br><br>
&gt; 4) Is it possible to tell bjam to compile projects and
&quot;centralize&quot; <br>
&gt; binaries and lib in one single directory ?<br><br>
You can use the 'stage' rule.&nbsp; See<br>
<a href="http://www.boost.org/tools/build/build_system.htm#stage_targets.">http://www.boost.org/tools/build/build_system.htm#stage_targets.><br><br>
-- <br>
Dave Abrahams<br>
Boost Consulting<br>
<a href="
http://www.boost-consulting.com/" eudora="autourl">www.boost-consulting.com</a><br><br>
</tt><br>
<font size=2 color="#003399"><b>Yahoo! Groups Sponsor</b></font>
<br><br>
<tt>Info: &lt;http://www.boost.org&gt;<br>
Wiki: &lt;http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl&gt;<br>
Unsubscribe: &lt;<a href="mailto:boost-users-unsubscribe_at_[hidden]" eudora="autourl">mailto:boost-users-unsubscribe_at_[hidden]</a>&gt;<br>
</tt><br><br>
<tt>Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.</tt> </blockquote>
<x-sigsep><p></x-sigsep>
-----------------------------------------------------------------------------------<br>
Jonathan de Halleux, Research Assistant<br>
Center for Systems Engineering and Applied Mechanics (CESAME)<br>
Universite catholique de Louvain <br>
Batiment Euler , Av. Georges Lemaitre, 4 Tel : +32-10-47 2595 <br>
B-1348 Louvain-la-Neuve Belgium <br>
E-mail : dehalleux_at_[hidden] <br>
-----------------------------------------------------------------------------------<br>
</body>
</html>
 --MIMEStream=_0+108178_0736857034240_39412912381--


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