Boost logo

Boost-Build :

Subject: Re: [Boost-build] Copy prebuild dll to unittest
From: Vladimir Prus (ghost_at_[hidden])
Date: 2014-08-27 02:23:24


On 08/26/2014 12:43 AM, tr1gun wrote:
> Hi,
>
> in my unit test under windows i'm loading a com dll (prebuild). At the moment this dll is installed and registered globally. With manifest
> files you can locally load such a dll without registering it but it requires that the dll resides in the same directory as the exe file.
> Is it possible to copy the dll to the unit test exe file? Another thing is is it possible to compile/run multiple unit tests in one
> directory so this dll hasn't to be copied to every unit test.
> Thanks in advance.

Bernhard,

I think the pull request for Windows Store testing has the code to accomplish the same:

     https://github.com/MSOpenTech/build/commit/fc255720457848bcc99b9fccc9540904bddabca4

That's quite complicated code though. Why would the standard approach of setting PATH to
include all dependent DLLs work for you?

Did-not-touch-Windows-in-few-years-yours,
Volodya


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