|
Boost-Build : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-08 10:51:06
There's an undocumented feature that ungristed names in the target
requirements are treated as rule names, and are invoked to modify the build
properties. For an example, see the select-python-library rule in
tools/build/python.jam
HTH,
Dave
----- Original Message -----
From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.build
To: <jamboost_at_[hidden]>
Sent: Monday, July 08, 2002 11:41 AM
Subject: [jamboost] Linking external libs depending on variants?
> Hi there,
>
> using the toolset msvc-stlport I'm trying to link an external
> library to my exe. The Jamfile looks something like
>
> exe foo : foo.cpp : <find-library>$(SOME_PATH)/utility.lib ;
>
> This works and links the external library. So far so good.
>
> Now I would like to specify different libraries depending
> on the value of some features. Something like
>
> if I have this config => use this library
> <runtime-build>debug <runtime-link>dynamic => utility_rtd.lib
> <runtime-build>release <runtime-link>dynamic => utility_rt.lib
>
> But I can't figure out how to do this. Could someone
> point me in the right direction, please?
>
> TIA, Markus
>
>
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
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