CMake: add version control info to PACKAGE_VERSION, if available.
authorOscar Fuentes <ofv@wanadoo.es>
Tue, 3 Aug 2010 17:28:09 +0000 (17:28 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Tue, 3 Aug 2010 17:28:09 +0000 (17:28 +0000)
commitee9931755434f8809c072efd0cc1fa70ccb2763e
treeb190eb9f1d2272e7c55580008e546e2f34f889df
parent14a498a48677eb1eaddd8329330df073224f9575
CMake: add version control info to PACKAGE_VERSION, if available.

Adds "svn" or "git", depending on the VCS used. If svn, adds the
revision number as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110121 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/VersionFromVCS.cmake [new file with mode: 0644]