[CMake] specific target to gettext
alexis lameire
alexisis-pristontale at hotmail.com
Sun Jul 26 07:01:46 EDT 2009
From: alexisis-pristontale at hotmail.com
To: drescherjm at gmail.com
Subject: RE: [CMake] specific target to gettext
Date: Sun, 26 Jul 2009 00:30:49 +0000
> Date: Sat, 25 Jul 2009 19:42:58 -0400
> Subject: Re: [CMake] specific target to gettext
> From: drescherjm at gmail.com
> To: alexisis-pristontale at hotmail.com
> CC: cmake at cmake.org
>
> On Sat, Jul 25, 2009 at 7:20 PM, alexis
> lameire<alexisis-pristontale at hotmail.com> wrote:
> > Hi, I've spent weeks and weeks to solve this problem, but I haven't got any
> > solution yet. that's why I need your help. My project uses gettext for
> > localization, and cmake for build. I'd like to set a make target to
> > automatically generate .pot files and update .po files, and another one to
> > compile the .po files to .mo files and write them in the "bin" subdirectory
> > of my project root.with the standard tree of gettext . How to do this? Thaks
> > for your help
> >
>
> Check out add_custom_command
>
> http://cmake.org/cmake/help/cmake2.6docs.html#command:add_custom_command
>
> John
thenks
i have try it but i have this error when i make
CMakeFiles/update_pot.dir/build.make:50: *** les commandes commencent avant la première cible. Arrêt.
make[2]: *** [CMakeFiles/update_pot.dir/all] Erreur 2
make[1]: *** [CMakeFiles/update_pot.dir/rule] Erreur 2
make: *** [update_pot] Erreur 2
http://pastie.org/559051 : my CMakeListe.txt :) sorry if the pastbin is not the good solution but i never yet use mailling list
Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. Créez un compte Hotmail gratuitement !
_________________________________________________________________
Inédit ! Des Emoticônes Déjantées! Installez les dans votre Messenger !
http://www.ilovemessenger.fr/Emoticones/EmoticonesDejantees.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090726/7cbdeef2/attachment.htm>
More information about the CMake
mailing list