$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2004-12-09 17:22:04
Toon Knapen wrote:
> David Abrahams wrote:
>> Hi,
>>
>> I'd like to be able to issue some command to rebuild bjam only when it's
>> out of date. I am going to run a script that does this repeatedly and I
>> don't want to waste CPU cycles rebuilding bjam when it's unneeded. Is
>> there a way (that doesn't involve knowing the guessed toolset name
>> beforehand?)
>
>
> IIUC build.sh first builds bjam0 from the sources. And than bjam is
> generated from the sources using bjam0. Well if you know you already
> have a bjam0, you can directly call bjam0. I don't know the different
> between bjam0 and the final bjam executable that is generated but I
> guess that bjam0 will also do dependency checking and thus only rebuild
> what is out of date.
Yes it does do that. The problem is that jam0 is built into a bootstrap
directory whose identity depends on the guessed toolset.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com