Am Freitag 03 Juli 2009 schrieb Abdelrazak Younes:
> On 02/07/2009 18:05, Kornel Benko wrote:
> >   Am Montag 22 Juni 2009 schrieb Abdelrazak Younes:
> >  > Hi Kornel,
> >  >
> >  > It seems the problem of repeated po compilation is back, I see this on
> >  > Windows/MSVC and on Linux (ubuntu 9.04). If you have time could you
> >  > please have a look?
> >  >
> >  > Thanks,
> >  > Abdel.
> >
> > Sorry for late answer. I just returned from a journey.
>
> No problem. I hope you had a good time :-)

Thanks, yes :)

> > If I call compile the second time, then no po-file will be created. What
> > you see, is maybe, that changing anything in a src-file (like adding a
> > lingle '\n') will trigger the creation of .gmo-files because of
> > dependencies.
> > I don't know, how to disable this (senseless) compilation.
>
> I guess we should only do that upon 'make install', not for 'make'.

I found a way, but you would have to call "make translations" from time to 
time.

To achieve this, substitute (in the main CMakeLists.txt) the line
        add_subdirectory(po)
with
        add_subdirectory(po EXCLUDE_FROM_ALL)

I prefere to not have it in "official" CMakeLists.txt, since one may very easy 
forget to create the translations. Were this ok for you?

> Abdel.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to