Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building a target then copying it to another target's directory
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-09-21 17:42:31

On Tue, Sep 21, 2010 at 1:19 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> On 9/21/2010 11:52 AM, Emil Dotchevski wrote:
>> On Fri, Sep 17, 2010 at 10:07 PM, Emil Dotchevski
>> <emil_at_[hidden]>  wrote:
>>> I have an executable that looks for and loads a DLL from the same
>>> directory where the executable resides. Both the executable and the
>>> DLL are targets in boost build and are built from source. How can I
>>> set them up so that when I request the executable to be built, it also
>>> builds the DLL and copies it into the the same directory where the
>>> executable goes?
> I think that there's a <install-dependencies>on feature for the
> install rule.

This is a test program and since it is built from sources, I'd like it
to go wherever it normally goes depending on the build configuration.
In addition, I want to copy a DLL, from whatever directory it is
output when built, to the executable directory, all depending on the
build configuration.

The install rule is different, I really don't want to install the
program and I don't want the DLL to be auto-loaded (it's looked up and
loaded manually.)

Emil Dotchevski
Reverge Studios, Inc.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at