|
Boost-Build : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-08-23 06:29:56
Vladimir Prus wrote:
> I believe that with the current CVS, you can do this:
>
> exe my_app : my_source.cpp :
> [ lib nsl dl readline : : <search> $(SYS_LIB_PATH) ] ;
>
> If you use all those libs everywhere, you might consider declaraing them
> out-of-line:
>
> lib nsl : : <search>$(SYS_LIB_PATH) ;
> exe my_app : my_source.cpp nsl ;
I tried to use prebuilt targets as you suggest here but the problem is
that I want to link with a _list_ of libraries. When specifying the name
of the library however, you can only specify one name like this:
lib all_system_libs : : <name>nsl <search>$(SYS_LIB_PATH) ;
So here is only one library listed. So what I would like to do is soth.
like the following:
lib all_system_libs : : <name>"nsl dl readline" <search>$(SYS_LIB_PATH) ;
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