diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-09-12 16:17:41 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-09-12 16:17:41 +0000 |
commit | 17e95c8aac18cac3e040079a120b4a129975ae9d (patch) | |
tree | 7c7d783fa702970aff03688ef0fbf8ce5d9497e0 /lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 12981a7238e9caf0254fee1761deea48dcbcf040 (diff) | |
download | clang-17e95c8aac18cac3e040079a120b4a129975ae9d.tar.gz |
[CMake] Put controversial always-recheck-revision-number behind an option.
CMake does not have the ability to perform actions before calculating
dependencies, so it can't know whether it needs to rebuild clangBasic
to update for a new revision number. CLANG_ALWAYS_CHECK_VC_REV (off by
default) will cause clangBasic to always be dirty by deleting the
generated SVNVersion.inc after use; otherwise, SVNVersion.inc will
always be updated, but only included in the final binary when clangBasic
is rebuilt.
It'd be great to find a better way to do this, but hopefully this is
still an improvement over the complete lack of version information before.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions