Boost logo

Boost-Build :

From: altecrtcw (altecrtcw_at_[hidden])
Date: 2004-08-16 10:23:32


I've tried for too many hours (more than I can admit in public) and
haven't been able to figure this out.

I'd like to link to prebuilt .lib files located in different
directories where the directories are determined by: the compiler
version and runtime-link setting.

For example, these are the 4 directories containing the prebuilt *.lib
files I'd like to use within various projects:

z:\src\lib\vc6\mtstatic - static .lib files for vc6 (prebuilt)
z:\src\lib\vc6\mtshared - shared .lib files for vc6 (prebuilt)
z:\src\lib\vc71\mtstatic - static .lib files for vc7 (prebuilt)
z:\src\lib\vc71\mtshared - shared .lib files for vc7 (prebuilt)

What is the correct syntax within my Jamfile at the project root to
make this work? I tried to get this to work in "project :
requirements" but have had no success.

ps

Using <variant> to select debug/release files was easy but this has me
stuck. I'm not able to use <toolset> properly as a conditional within
the project : requirements.

 


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