Subject: Re: [Boost-build] make more than one target with one custom command
From: Roman Matsybora (matsic_at_[hidden])
Date: 2015-09-29 08:58:19
If some script always put generated files at same place and doesn't have any option to setup output files
how to adopt it to use with such action?
Ð¾Ð´Ð½Ð¾Ðµ ÑÐ¾Ð¾Ð±ÑÐµÐ½Ð¸Ðµ ---
ÐÑ ÐºÐ¾Ð³Ð¾: "Vladimir Prus" <vladimir.prus_at_[hidden]>
ÐÐ°ÑÐ°: 29 ÑÐµÐ½ÑÑÐ±ÑÑ 2015, 15:50:46
> 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
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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