Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-09-01 13:31:19


Alexey Pakhunov <alexeypa_at_[hidden]> writes:

> For Visual Studio 8 the configuration script 'vcvarsall.bat' should be
> called with different parameters depending on the target CPU. So I
> defined something like this:
>
> flags msvc .SETUP <architecture>x86/<address-model>32 : " x86" ;
> flags msvc .SETUP <architecture>x86/<address-model>64 : " x86_amd64" ;
> flags msvc .SETUP <architecture>ia64/<address-model>64 : " x86_ia64" ;

Why the leading space? It looks like a maintenance nightmare. If
something depends on it, use a new variable like .SETUPFLAGS and add
the space manually

.SETUP += " "$(.SETUPFLAGS) ;

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.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