|
Boost : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-07-14 02:51:23
Vladimir Prus writes:
>>> This is something that Boost.Build V2
>>> Jamfile written by Michael does. But then the target path will be not
>>>
>>> bin\boost\libs\numeric\ublas\test1.test
>>>
>>> but
>>>
>>> bin\boost\libs\numeric\ublas\test1\test1.test
>>>
>>> I wonder how regression tools can determine the library name in that
>>> case?
>>
>> Correctly :). It's still in the path. They already do so for other
>> libraries.
>
> You mean this:
>
> local rule get-library-name ( path )
> {
> local match1 = [ MATCH [/\\]libs[/\\](.*)[/\\]test : $(path) ] ;
>
> I'm not sure:
>
> ghost_at_zigzag:/tmp$ bjam -f-
> ECHO [ MATCH [/\\]libs[/\\](.*)[/\\]test :
> bin\\boost\\libs\\numeric\\ublas\\test1\\test1.test ] ;
> numeric\ublas\test1
>
>
> It's numeric\ublas\test1, not numeric\ublas.
'get-library-name' will be passed
"bin\\boost\\libs\\numeric\\ublas\\test1", though, not
"bin\\boost\\libs\\numeric\\ublas\\test1\\test1.test".
-- Aleksey Gurtovoy MetaCommunications Engineering
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk