List Info

Thread: location of dlls




location of dlls
country flaguser name
United States
2007-10-22 00:15:12
With the switch of default to the shared libraries I started
to expirience 
one significant inconvinience: I can't rerun test modules
after bjam is 
done.  The reason is that Boost.Test dll is not in a path I
have to jump 
through hoops to make it run.

Would it be possible to setup BB to place all DLLs into
stage directory? 
Than I can add to the path and hopefully it will work.

Gennadiy 



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: location of dlls
user name
2007-10-22 01:36:48
Gennadiy Rozental wrote:

> With the switch of default to the shared libraries I
started to expirience
> one significant inconvinience: I can't rerun test
modules after bjam is
> done.  The reason is that Boost.Test dll is not in a
path I have to jump
> through hoops to make it run.
> 
> Would it be possible to setup BB to place all DLLs into
stage directory?
> Than I can add to the path and hopefully it will work.

You can use the 'install' rule to place DLL into any
directory you like.
You can use 'explicit' on the name of the install rule, if
you don't
want that staging to happen automatically.

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: location of dlls
country flaguser name
United States
2007-10-22 22:50:07
"Vladimir Prus" <ghostcs.msu.su> wrote in
message 
news:ffhge0$27v$1ger.gmane.org...
> Gennadiy Rozental wrote:
>
>> With the switch of default to the shared libraries
I started to 
>> expirience
>> one significant inconvinience: I can't rerun test
modules after bjam is
>> done.  The reason is that Boost.Test dll is not in
a path I have to jump
>> through hoops to make it run.
>>
>> Would it be possible to setup BB to place all DLLs
into stage directory?
>> Than I can add to the path and hopefully it will
work.
>
> You can use the 'install' rule to place DLL into any
directory you like.
> You can use 'explicit' on the name of the install rule,
if you don't
> want that staging to happen automatically.

bjam toolset=... install produces

"don't know how to make" responce.

Do you mean I need to add something into Jamfile?

Can you just give me explicit text to put into my Jamfile?

Genandiy 



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: location of dlls
country flaguser name
United States
2007-10-22 23:23:04
Gennadiy Rozental wrote:
> "Vladimir Prus" <ghostcs.msu.su> wrote in message 
> news:ffhge0$27v$1ger.gmane.org...
>   
>> Gennadiy Rozental wrote:
>>
>>     
>> You can use the 'install' rule to place DLL into
any directory you like.
>> You can use 'explicit' on the name of the install
rule, if you don't
>> want that staging to happen automatically.
>>     
>
> bjam toolset=... install produces
>
> "don't know how to make" responce.
>
> Do you mean I need to add something into Jamfile?
>
> Can you just give me explicit text to put into my
Jamfile?
>
> Genandiy 
>
>
>   

Genandiy -

Install is described in detail in the documents. It will do
exactly what
you need.


http://www.boost.org/doc/html/bbv2/tasks.html
#bbv2.tasks.installing


-- 

----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: location of dlls
country flaguser name
United States
2007-10-22 23:43:46
"Michael Caisse" <boostobjectmodelingdesigns.com> wrote in message 
news:471D7728.50106objectmodelingdesigns.com...
> Gennadiy Rozental wrote:
>> "Vladimir Prus" <ghostcs.msu.su> wrote in message
>> news:ffhge0$27v$1ger.gmane.org...
>>
>>> Gennadiy Rozental wrote:
>>>
>>>
>>> You can use the 'install' rule to place DLL
into any directory you like.
>>> You can use 'explicit' on the name of the
install rule, if you don't
>>> want that staging to happen automatically.
>>>
>>
>> bjam toolset=... install produces
>>
>> "don't know how to make" responce.
>>
>> Do you mean I need to add something into Jamfile?
>>
>> Can you just give me explicit text to put into my
Jamfile?
>>
>> Genandiy
>
> Genandiy -
>
> Install is described in detail in the documents. It
will do exactly what
> you need.
>
>
> http://www.boost.org/doc/html/bbv2/tasks.html
#bbv2.tasks.installing

Unfortunately a lot of things in BB are not so obvios and
can be easily 
misused.

I do not have much time to dig into BB docs. I've tried to
follow the link.

I've added

install common_location
           : output_test_stream_test
           : <install-dependencies>on
<install-type>LIB
           ;

to the test/Jamfile.v2

nothing happend.

What should I write and where, so that for every unit test
that is linked 
with shared version of Boost.Test component the
corresponding library that 
get's build as part of unit test compilation is copied in
some common 
location, preferably <BOOST_ROOT>/stage?

Gennadiy 



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )