From: John Dillan (demised_at_[hidden])
Date: 2008-01-13 21:15:29
That did the trick! Thanks so much!
On Sun, 13 Jan 2008 17:28:11 -0800, Phillip Seaver <phil_at_[hidden]> wrote:
> demised wrote:
>> Hey all,
>> I am trying to create a library that depends on a large number of other
>> library files. In Visual Studio, I simply specify all the libraries
>> so: ../dependencies/libs/*.a
>> In the Jamfile, I am simulating that like this:
>> lib dependencies :
>> : <file>$(env)/custom/lib1.a
>> # and so on...
>> Is there any way I can do a glob command instead? The other option I
>> was to simply provide a <linkflag> option to my library, but that didn't
>> work either.
>> Any ideas?
> How about this?
> local mydeps = [ glob $(env)/custom/lib*.a ] ;
> lib dependencies :
> : <file>$(mydeps)
> Because of the way Jam works, that will get expanded to
> "<file>$(env)/custom/lib1.a <file>$(env)/custom/lib2.a ..." As far as I
> know, you have to use a variable, because "<file>[ glob
> $(env)/custom/lib*.a ]" won't work the same way.
> Unsubscribe & other changes:
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