Boost logo

Boost-Build :

From: Peter Steiner (peter.steiner_at_[hidden])
Date: 2002-05-08 08:58:29


On Wed, 8 May 2002 16:23:55 +0400, Vladimir Prus wrote:

> So, you want to be able to specify default toolset for building some targets?
> Unfortunately, at this stage you cannot specify default toolset for a target.
> On the other hand, you can specify it for a project. In Jamrules you can write

> TOOLS ?= borland ;

> I'm not sure that it will be enough for you, though -- do you need to be able
> to link together targets with different default toolsets?

I guess that will be enough for me; I do not plan to link from different
toolsets.

> In fact, BOOST_ROOT is going to disappear. User is now able to specify the
> location of build system by either
> - creating at project root a file called "boost-build.jam" with the content

> boost-build <path_to_build_system> ;

That is exactly what I was missing. I have now succeeded in building a
small hello-world program with bjam and without any environment
variables:

=== file boost-build.jam
boost-build c:/l/jam/tools/build ;
=== eof

=== file Jamfile
TOOLS = MSVC ;

MSVCDir = "C:\\Program Files\\Microsoft Visual Studio\\VC98" ;

exe hello : hello.cpp ;
=== eof

Thanks!

Peter

-- 
_ _ Peter Steiner <peter.steiner_at_[hidden]>
/ /_/ / Hug-Witschi AG <http://www.hugwi.ch/>
/ _ / Electronic Engineering
/_/ /_/ _ _ Auriedstrasse 10
/ / / / / / CH-3178 Boesingen
/ /_/ /_/ / Tel +41 31 740 44 44
/_ _ _ _ _/ Fax +41 31 740 44 45
 

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