Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-01 02:27:49


Hi Alexey,

> > Maybe, we can keep separate rc.jam for the sake of borland, and add
> > generators for rc files to msvc.jam as well. The latter will be used only
> > when toolset is "msvc".
>
> Well, one solution that I see: wrote own rules for building rc for each
> compiler. Another one - use a global variable containing prefix and name of
> resource compiler.

Probably...

>
> > Again, I don't think anybody is working on this, and this surely seems
> > good addition! Maybe, you can send a patch?
>
> See the attachment.

Thanks! I'll try to take a closer look at the patch later today.

> > As for message compiler, I'd appreciate if we have some discussion before
> > you implement this feature. V2 already has support for GNU gettext tool,
> > and it would be nice if MC support has similiar interface.
>
> I need to investigate what is gettext, how it is used, etc. So it will take
> some time. :-)

In fact, the primary thing if the interface in Boost.Build. The gettext
interface looks like:

gettext.update update-tr : russian.po src ;
gettext.catalog russian : russian.po ;

The second line creates "compiled" translations file from user-editable
translation file. I guess that's what mc does as well. The first line
extracts all untranslated strings found in "src" project and appends them to
"russian.po", for further translation. The question is whether there's
similiar step on windows. If not, then we need not bother much and can invent

mc.catalog rule

- Volodya

 


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