Boost logo

Boost-Build :

Subject: Re: [Boost-build] make more than one target with one custom command
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-09-29 08:50:34

On 29-Sep-15 3:47 PM, Roman Matsybora wrote:
> If I understand in this case one action will be called 2 times.
> But in my case there only one invocation for both.

No, if your dependency graph has an two targets with the same action, the action will be invoked
only once. For example on Windows, link.dll action typically produces .dll and .lib targets, and
it's invoked once.

> Also generated files may have dependencies from some source files that are used during generating.
> If some of dependencies changed, files have to be regenerated.

Could you clarify this part? Dependencies are normally handled automatically. Do you have any
particular concerns?

- Volodya

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