[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] Merging files (same type for input and output)
From:       Ian Emmons <ian () the-emmons-family ! com>
Date:       2013-08-29 16:24:14
Message-ID: 66CF2DD7-16EF-4DCF-A6B2-21FFDAB71D37 () the-emmons-family ! com
[Download RAW message or body]

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 t=
hat 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@vjoon.com> 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 sam=
e=85
> PS: I need the files foo.rsrc and bar.rsrc too. So i can't rename their t=
ype to something else...
> =

> Thank you,
> Mike...
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/bo=
ost-build
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic