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 | f31f5f84888e9dd67e793598d19040ce0e0dd6a5 (patch) | |
tree | 425b38e77be1da154d99bc0a8948ef36ed5a9419 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | d6d1b52937152bb0d45bb239774004a1d0feba48 (diff) | |
download | llvm-f31f5f84888e9dd67e793598d19040ce0e0dd6a5.zip llvm-f31f5f84888e9dd67e793598d19040ce0e0dd6a5.tar.gz llvm-f31f5f84888e9dd67e793598d19040ce0e0dd6a5.tar.bz2 |
[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.
llvm-svn: 190613
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions