[patch?] Write Version.inc at cmake time, not at build time

Jordan Rose jordan_rose at apple.com
Tue Jan 7 09:12:00 PST 2014


*sigh* Yes, please do commit for now. Better than nothing, I guess.

On Jan 6, 2014, at 22:02 , Nico Weber <thakis at chromium.org> wrote:

> Hi,
> 
> 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.
> 
> 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.
> 
> Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-cmake-version.patch
Type: application/octet-stream
Size: 1707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140107/10257fc4/attachment.obj>
-------------- next part --------------



More information about the cfe-commits mailing list