summaryrefslogtreecommitdiff
path: root/cmake/.gitattributes
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2020-09-30 17:13:48 +0200
committerJoel Rosdahl <joel@rosdahl.net>2020-10-01 09:45:54 +0200
commit3c33c79548874e97a3553bf6943c89638326e6f2 (patch)
tree102a40c595039db713dfc045cf49d977e761913e /cmake/.gitattributes
parent2bcea18451b3f2d1114435f4b42cc42afde5aaa8 (diff)
downloadccache-3c33c79548874e97a3553bf6943c89638326e6f2.tar.gz
Make it possible to build from “git archive” source archives
The ccache CMake scripts currently support building from an official release archive or in a Git repository but not from a source archive created by “git archive”. Improve this by adding directives so that “git archive” substitutes needed information when exporting the source tree. Closes #667.
Diffstat (limited to 'cmake/.gitattributes')
-rw-r--r--cmake/.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/.gitattributes b/cmake/.gitattributes
new file mode 100644
index 00000000..c217b7df
--- /dev/null
+++ b/cmake/.gitattributes
@@ -0,0 +1 @@
+CcacheVersion.cmake export-subst