|
Boost-Build : |
Subject: Re: [Boost-build] Merging files (same type for input and output)
From: Ian Emmons (ian_at_[hidden])
Date: 2013-08-29 12:24:14
Mike,
Can you create the following generators:
1. .r to .rsrc-xyzzy
2. .fr to .rsrc-xyzzy
3. .rsrc-xyzzy to .rsrc
where #3 merges all its dependents into one .rsrc output. Then make sure that if #3 has only one dependent, it will simply copy the input to output. Then you just create the following targets:
result.rsrc with dependents foo.rsrc-xyzzy and bar.rsrc-xyzzy
foo.rsrc with dependent foo.rsrc-xyzzy
bar.rsrc with dependent bar.rsrc-xyzzy
Does that sound workable?
-Ian
On Aug 29, 2013, at 7:29 AM, Mike Gresens <mgresens_at_[hidden]> wrote:
> Hi there,
>
> i am trying to do something like that:
>
> 1) Generate foo.rsrc from foo.r
> 2) Generate bar.rsrc from bar.fr
> 3) Merge foo.rsrc and bar.rsrc into result.rsrc
>
> Steps 1 and 2 are done. I have now generators for that.
> But how can i merge the files? The types for input and output are the same
> PS: I need the files foo.rsrc and bar.rsrc too. So i can't rename their type to something else...
>
> Thank you,
> Mike...
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