Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-25 04:26:38


On Thursday 18 May 2006 12:15, Bojan Resnik wrote:
> I am familiar with 'install' rule that can be used to copy targets
> and dependencies into a predefined folder. However, can this be
> modified to copy dependencies into main target's folder? Something
> like:
> --------
> exe x : x.cpp my_dll ;
> install -path to created x.exe- : x : <install-dependencies>on
> <install-type>SHARED_LIB ;
> --------
>
> Can 'install' be made to work with prebuilt DLLs as well?

It's supposed to work with them.

> For
> example, Qt support declares a lib target, which causes the main
> target to link with the appropriate static libraries, but does not
> provide enough information for 'install ' to copy Qt DLL's when
> needed.

The thing is that Qt defines targets as:

   lib qt : : <name>qt-mt ....... ;

which add -lqt-mt to the linker command line, but this does not specify where
the library is actually located. So, Boost.Build does not know what file to
copy.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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