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-pristont...@hotmail.com
To: cmake@cmake.org
Subject: RE: [CMake] specific target to gettext
Date: Sun, 26 Jul 2009 23:56:46 +0000












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










From: alexisis-pristont...@hotmail.com
To: dresche...@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: dresche...@gmail.com
> To: alexisis-pristont...@hotmail.com
> CC: cmake@cmake.org
> 
> On Sat, Jul 25, 2009 at 7:20 PM, alexis
> lameire<alexisis-pristont...@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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to