<div dir="ltr">Is it possible to generate Version.inc every time the the VCS changes? I know this is a little silly, but I really like having assurances that if there is a revision number is is correct, and it seems likely to be very fast to test with git at least, and maybe svn.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 7, 2014 at 1:02 AM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I'm seeing a cmake invocation to generate Version.inc on every build, even if nothing else needs to be done. r191784 claimed to undo that, but it doesn't work for me – and as far as I understand, Version.inc is still created through an always-dirty build edge at the moment, so I don't understand how this couldn't run on every build either.</div>

<div><br></div><div>The attached patch changes things so that Version.inc is written at cmake time. With this, I get empty builds that don't run any build steps.</div><span class="HOEnZb"><font color="#888888"><div><br>
</div><div>Nico</div></font></span></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>