]> granicus.if.org Git - clang/commit
[CMake] Use .svn/wc.db as our VC dependency if it's available.
authorJordan Rose <jordan_rose@apple.com>
Thu, 20 Nov 2014 03:57:45 +0000 (03:57 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 20 Nov 2014 03:57:45 +0000 (03:57 +0000)
commit8dbfd1c79bf05f57ddf8765c97c26d05f3574b49
tree151559a008b6fc8b9fab79345e285ea826b66000
parent0035283acf0f33d8b17b70b17a55df858073e422
[CMake] Use .svn/wc.db as our VC dependency if it's available.

In order to keep SVNVersion.inc from being regenerated on every build, we need
to specify as a dependency a file that only changes when the VC state updates.
I previously just had .svn/entries, but that's only used by Subversion 1.6.
1.7 uses .svn/wc.db instead; prefer that if it's present.

(Thanks, Nico!)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222407 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/CMakeLists.txt