Boost logo

Boost-Build :

From: quarendont (tomq_at_[hidden])
Date: 2005-03-09 09:10:11


How do stop the stage rule copying all dependent DLLs when I'm using
it to copy a DLL into a target directory?

Specifically, I have some DLLs that I want to copy into a target
directory. These are "plugin" DLLs -- all such DLLs in a specific
directory are loaded dynamically by my program as plugins. I have a
seperate directory containing the "normal" DLLs on which these plugin
DLLs depend. However when the stage rule that copies the plugin dlls
into the plugin directory runs it also copies any dependent dlls into
the same directory.
That is, I end up with

bin\
utility.dll
plugins\
plugin1.dll
plugin2.dll
utility.dll <- this gets copied when I stage plugin1&plugin2

What I want is just
bin\
utility.dll
plugins\
plugin1.dll
plugin2.dll

How do I modify my stage rule to accomplish this?

 


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