On Wed, Apr 2, 2008 at 9:01 PM, Alexander Neundorf <<a href="mailto:a.neundorf-work@gmx.net" target="_blank">a.neundorf-work@gmx.net</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Wednesday 02 April 2008, you wrote:<br>
> On Tue, Apr 1, 2008 at 10:15 PM, Alexander Neundorf<br>
</div>...<br>
<div>> ok but there must be some way to say that I want to rebuild my project when<br>
> I call this specific "sync" target ? or am I doomed for the rested of my<br>
> life to type "make all && make sync" ?<br>
><br>
> > Would "make clean all" be good enough ?<br>
><br>
> Is this a mistake or an april fool's day joke ? I wasn't talking about<br>
> "clean" so I don't get it ^^<br>
<br>
</div>You said you want to rebuild everything, so what's wrong with "make clean"<br>
followed by make ?<br>
I guess somehow I don't understand what you want to do.<br>
<div><div></div><div></div></div></blockquote><div><br>ok then I re-explain : I have a custom rule "sync" that send binaries to a embedded computer. To make sure that the binaries that I send are the lastest version (ie the source have recompiled since my last modification) I wanted to make my "sync" target depend on "all". ie when I type "make sync" the project is rebuild before the synchronisation is made. the same result can be done by typing "make && make sync" but I want it to be managed by cmake because other people in the project doesn't need to know that they need to rebuild the project before each sync. They just have to know "make sync".<br>
<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><br>
Alex<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>