<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Eric,<br>
<br>
<div class="moz-cite-prefix">On 11/19/19 11:10 AM, Eric Noulard
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPASGLpCDwX9+V4n+Lez7h1xCU2vwdKcaLrbE89d0bMnQVCw7g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le mar. 19 nov. 2019
à 11:03, Ellon Paiva <<a
href="mailto:ellonpaiva@gmail.com" moz-do-not-send="true">ellonpaiva@gmail.com</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I was wondering: is there any way to compile all targets
that depend on <br>
a given target ? (i.e. the "dependent targets", if my
English does not <br>
fail).<br>
<br>
In my particular case, I have a huge project that contains
many libs and <br>
executables, and I would like to check that the targets that
depend on <br>
the library I'm working on do not break with my
modifications, but I <br>
wouldn't like to compile the whole project every time since
not all <br>
targets depends on my lib.<br>
</blockquote>
<div><br>
</div>
<div>Correct me if I'm wrong but if you build the whole
project once, then modify the lib,</div>
<div>the next "whole build" should only rebuild the necessary
part ? i.e. it'll rebuild</div>
<div>the lib and all targets that depends on it.<br>
</div>
</div>
</div>
</blockquote>
<br>
Indeed, if I "whole build' once and modify the lib I would only
rebuild the necessary part, except that I do not work alone on this
project, and sometimes some rebase is needed to incorporate changes
from other people on code not related to the lib I'm working on, and
this would trigger more build than my changes would.<br>
<br>
Also it may happen that a new dependent to the lib I'm working on
may be added to the code base by one of these rebases. In this case
the only way for me to check if my changes broke anything would be
to do a whole build again, but this would also build many things not
related to my work... I hope I'm being clear here. :-)<br>
<br>
<blockquote type="cite"
cite="mid:CAPASGLpCDwX9+V4n+Lez7h1xCU2vwdKcaLrbE89d0bMnQVCw7g@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
Do you you want to avoid building the whole project in the
first place or does the </div>
<div>second whole build trigger more than necessary target
build? <br>
</div>
</div>
</div>
</blockquote>
<br>
I would like to avoid rebuilding targets due to changes introduced
by my workmates that are not related to the part of the code base
I'm working on.<br>
<br>
Best,<br>
<br>
Ellon<br>
<br>
<blockquote type="cite"
cite="mid:CAPASGLpCDwX9+V4n+Lez7h1xCU2vwdKcaLrbE89d0bMnQVCw7g@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Eric<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>