<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
grumf :/<br>i have try this, can you help me to look what that don't match<br>http://pastie.org/561035<br><br>he don't compile the po file :/ and i don't found the mo target dependancies<br><hr id="stopSpelling">From: alexisis-pristontale@hotmail.com<br>To: cmake@cmake.org<br>Subject: RE: [CMake] specific target to gettext<br>Date: Sun, 26 Jul 2009 23:56:46 +0000<br><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
<br><br><br><br><hr id="EC_EC_stopSpelling">From: alexisis-pristontale@hotmail.com<br>To: cmake@cmake.org<br>Date: Sun, 26 Jul 2009 11:01:46 +0000<br>Subject: Re: [CMake] specific target to gettext<br><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
<br><br><hr id="EC_EC_EC_stopSpelling">From: alexisis-pristontale@hotmail.com<br>To: drescherjm@gmail.com<br>Subject: RE: [CMake] specific target to gettext<br>Date: Sun, 26 Jul 2009 00:30:49 +0000<br><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
<br><br>> Date: Sat, 25 Jul 2009 19:42:58 -0400<br>> Subject: Re: [CMake] specific target to gettext<br>> From: drescherjm@gmail.com<br>> To: alexisis-pristontale@hotmail.com<br>> CC: cmake@cmake.org<br>> <br>> On Sat, Jul 25, 2009 at 7:20 PM, alexis<br>> lameire<alexisis-pristontale@hotmail.com> wrote:<br>> > Hi, I've spent weeks and weeks to solve this problem, but I haven't got any<br>> > solution yet. that's why I need your help. My project uses gettext for<br>> > localization, and cmake for build. I'd like to set a make target to<br>> > automatically generate .pot files and update .po files, and another one to<br>> > compile the .po files to .mo files and write them in the "bin" subdirectory<br>> > of my project root.with the standard tree of gettext . How to do this? Thaks<br>> > for your help<br>> ><br>> <br>> Check out add_custom_command<br>> <br>> http://cmake.org/cmake/help/cmake2.6docs.html#command:add_custom_command<br>> <br>> John<br><br>thenks<br>i have try it but i have this error when i make<br>CMakeFiles/update_pot.dir/build.make:50: *** les commandes commencent avant la première cible. Arrêt.<br>make[2]: *** [CMakeFiles/update_pot.dir/all] Erreur 2<br>make[1]: *** [CMakeFiles/update_pot.dir/rule] Erreur 2<br>make: *** [update_pot] Erreur 2<br>http://pastie.org/559051 : my CMakeListe.txt :) sorry if the pastbin is not the good solution but i never yet use mailling list<br><br><hr>Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. <a href="http://www.windowslive.fr/hotmail/default.asp"> Créez un compte Hotmail gratuitement !</a><br><hr>Souhaitez vous « être au bureau sans y être » ? <a href="http://www.microsoft.com/france/windows/bts/default.mspx">Oui je le veux !</a><br><br>i have search and found the solution at the proble !<br>i can write the first target but it's not satisfy me completly :<br>i would like remove the -j open if the file don't exist !<br>i would like be sure that the executable that i use exist on the hote system<br>http://pastie.org/559719 : my CMakeList.txt<br><br><br><br><br><a href="http://www.microsoft.com/windows/windowslive/default.aspx"></a><br><hr>Souhaitez vous « être au bureau sans y être » ? <a href="http://www.microsoft.com/france/windows/bts/default.mspx">Oui je le veux !</a><br /><hr />Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Lancez-vous !</a></body>
</html>