Boost logo

Boost-Build :

From: Jim Tilander (jim.tilander_at_[hidden])
Date: 2005-07-05 18:27:36


Hi!

I'm trying to adapt bbv2-m10 to our project and I'm new to Jam/BoostBuild in
general so please bear with me. I'm wondering how to do two things:

1. Redirect all output (object files, libraries and executables) to a custom
directory. I'd like to keep the current hierarchy with debug/release
directories, but I'd like to move them from the current location to a higher
location in the directory tree, like this:

Current:
Libs->MyLib->bin->[.lib.obj]

New:
Libs->Intermediate->MyLib->bin->[.lib.obj]

2. In my compiler flags <cflag> I'd like to reference the output directory
(the one we changed in 1). This is for this specific instance for
precompiled headers, so the actual flag I want to pass is something like
this (but of course I don't know the proper variablenames):

<cflag>-Fp$(intermediate_path)/$(project_name).pch

Regards,
Jim Tilander
 ------=_Part_15517_15386828.1120606056138 Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi!<br>
<br>
I'm trying to adapt bbv2-m10 to our project and I'm new to
Jam/BoostBuild in general so please bear with me. I'm wondering how to
do two things:<br>
<br>
1. Redirect all output (object files, libraries and executables) to a
custom directory. I'd like to keep the current hierarchy with
debug/release directories, but I'd like to move them from the current
location to a higher location in the directory tree, like this:<br>
<br>
Current:<br>
Libs-&gt;MyLib-&gt;bin-&gt;[.lib.obj]<br>
<br>
New:<br>
Libs-&gt;Intermediate-&gt;MyLib-&gt;bin-&gt;[.lib.obj]<br>
<br>
<br>
2. In my compiler flags &lt;cflag&gt; I'd like to reference the output
directory (the one we changed in 1). This is for this specific instance
for precompiled headers, so the actual flag I want to pass is something
like this (but of course I don't know the proper variablenames):<br>
<br>
&lt;cflag&gt;-Fp$(intermediate_path)/$(project_name).pch<br>
<br>
<br>
Regards,<br>
Jim Tilander<br>
<br>
<br>
 ------=_Part_15517_15386828.1120606056138--


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