<html><head></head><body>Tx Alexander.<br><br>Unfortunately, the version of cmake that we use (2.6.0) does not have a --dependency_out arg.<br>So I just coded a small python parser that recursively check for imports and create a ninja depfile out of it. (injected with DEPFILE in custom command)<br>It looks like it works fine thanks !<br><br>David<br><br><div class="gmail_quote">Le 25 septembre 2018 21:15:54 GMT+01:00, Alexander Neundorf <neundorf@kde.org> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2018 M09 25, Tue 16:53:27 CEST David Jobet wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">What I do have a problem is rerunning protoc automatically on proto-files<br>which import proto files that have been modified.<br>How do you handle this ?<br></blockquote><br>I just found out I don't.<br>Any idea on that one ?<br></blockquote><br>here are some suggestions:<br><a href="https://cmake.org/pipermail/cmake-developers/2018-May/030664.html">https://cmake.org/pipermail/cmake-developers/2018-May/030664.html</a><br><br>Alex<br></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>