aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2021-08-26 14:58:09 +0200
committerAndreas Schneider <asn@cryptomilk.org>2021-08-26 14:58:38 +0200
commit76b7e0e9b54bed74f3d9be75583e56960405847d (patch)
tree9f7936975ebc96f54209848a1e47a774552c225f
parentf8817c0c355350cd6ca55a91f815d082b3bd9f73 (diff)
downloadlibssh-76b7e0e9b54bed74f3d9be75583e56960405847d.tar.gz
libssh-76b7e0e9b54bed74f3d9be75583e56960405847d.tar.xz
libssh-76b7e0e9b54bed74f3d9be75583e56960405847d.zip
cpack: Do not package .cache directory used by clangd
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
-rw-r--r--.gitignore1
-rw-r--r--CPackConfig.cmake2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index da6827ca..c8a7348a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
*~$
cscope.*
compile_commands.json
+/.cache
/.clangd
tags
/build
diff --git a/CPackConfig.cmake b/CPackConfig.cmake
index c4a3598a..5bd52c56 100644
--- a/CPackConfig.cmake
+++ b/CPackConfig.cmake
@@ -10,7 +10,7 @@ set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
# SOURCE GENERATOR
set(CPACK_SOURCE_GENERATOR "TXZ")
-set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]git/;/[.]clangd/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json;.*\.patch")
+set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]git/;/[.]clangd/;/[.]cache/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json;.*\.patch")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
### NSIS INSTALLER