[C++-sig] Re: Re: Re: Re: Problem with vc++ 7

David Abrahams dave at boost-consulting.com
Wed Nov 27 03:22:43 CET 2002


"Mike Rovner" <mike at bindkey.com> writes:

>> You could do something like:
>>
>>     local libname
>>     if $(NT)
>>     {
>>        libname = foo.lib
>>     }
>>     else
>>     {
>>        libname = libfoo.a
>>     }
>>
>>         ...
>>
>>         <library-file>$(libname)
>>
>
> IIUC automatic name mangling will be in BB2. 

You might have a look at the <find-library> feature. It handles some
of that.

> It will be good to specify a
> list of libs to include, like
>
> LIBS = a b c
> <library-file>$(LIBS)
>
> Will that work?

Why don't you try it and find out ;-) ?

The jamboost list at http://groups.yahoo.com/group/jamboost is a
better place to ask general Boost.Build questions...

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list