Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-04 10:47:13


on Thu Aug 02 2007, Vladimir Prus <ghost-AT-cs.msu.su> wrote:

> I note that in some cases, 'mt' is invoked without calling the setup script.
> Here's the relevant code:
>
> if ! [ os.name ] in NT
> {
> flags msvc.link .MT $(cond) : $(command[$(i)])$(manifest-tool) -nologo ;
> }
> else
> {
> flags msvc.link .MT $(cond) : $(manifest-tool) -nologo ;
> }
>
> Anybody knows the rationale for this logic?

That appears to be how it was all along. The original code didn't
separately call the setup script:
http://svn.boost.org/trac/boost/changeset/29192

On the other hand, it doesn't need to, because it was already called
in an earlier line of the action.

The change that added the branch that *does* call the setup script was
checked in by you:
http://svn.boost.org/trac/boost/browser/trunk/boost/tools/build/v2/tools/msvc.jam?rev=32306

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

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