|
Boost-Build : |
Subject: Re: [Boost-build] make more than one target with one custom command
From: Roman Matsybora (matsic_at_[hidden])
Date: 2015-09-29 11:20:49
if invoke "b2 debug release" with setting path, it will produce
error: Name clash for <file-name>
but if use file moving we will not get this error
Action execute 2 times in this situation.
If we use -j2 options can it be some random errors if script can conflict parallel executing?
--- ÐÑÑ
одное ÑообÑение ---
ÐÑ ÐºÐ¾Ð³Ð¾: "Vladimir Prus" <vladimir.prus_at_[hidden]>
ÐаÑа: 29 ÑенÑÑбÑÑ 2015, 16:52:28
> On 29-Sep-15 3:58 PM, Roman Matsybora wrote:
> >
> > If dependencies from sources are handled automatically, then it's OK.
> >
> > 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?
>
> You can either:
>
> - Fix the script to accept absolute names of output files to create
> - In the build action, move files to the destination that Boost.Build uses
> - After creating action, call the set-path method to any location matching
> your script.
>
> HTH,
> 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