Boost logo

Boost-Build :

From: Altec (altecrtcw_at_[hidden])
Date: 2004-08-18 12:55:14


This might be a kludge but worked for me.

1. grab toolset+version from command-line args
2. set var to correct directory based on toolset
3. use var with <search>

import modules ;
if msvc-7.1 in [ modules.peek : ARGV ] {
IVLIBDIR = z:/lib/vc7/mt ;

} else if msvc-6 in [ modules.peek : ARGV ] {
IVLIBDIR = z:/lib/vc6/mt ;

} else {
ECHO "ERROR: Please specify msvc-6 or msvc-7.1" ;
exit ;
}

lib fooLib
: : <name>fooLibd <search>$(IVLIBDIR) <toolset>msvc <variant>debug
;

 


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