Boost logo

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


('binary' encoding is not supported, stored as-is) Also I found that setting path is different than moving files if we can build debug and release.

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