[CMake] specific target to gettext

alexis lameire alexisis-pristontale at hotmail.com
Mon Jul 27 20:08:59 EDT 2009


grumf :/
i have try this, can you help me to look what that don't match
http://pastie.org/561035

he don't compile the po file :/ and i don't found the mo target dependancies
From: alexisis-pristontale at hotmail.com
To: cmake at cmake.org
Subject: RE: [CMake] specific target to gettext
Date: Sun, 26 Jul 2009 23:56:46 +0000












From: alexisis-pristontale at hotmail.com
To: cmake at cmake.org
Date: Sun, 26 Jul 2009 11:01:46 +0000
Subject: Re: [CMake] specific target to gettext










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 !
Souhaitez vous  « être au bureau sans y être » ? Oui je le veux !

i have search and found the solution at the proble !
i can write the first target but it's not satisfy me completly :
i would like remove the -j open if the file don't exist !
i would like be sure that the executable that i use exist on the hote system
http://pastie.org/559719 : my CMakeList.txt





Souhaitez vous  « être au bureau sans y être » ? Oui je le veux !
_________________________________________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090728/7ca39826/attachment.htm>


More information about the CMake mailing list