From 408ab76759b790e20d77a21106b1040f02ac9bd8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 19 Feb 2023 09:36:28 +0100 Subject: [PATCH] cpack: Update ignore files for source package generation Fixes #86 --- CPackConfig.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CPackConfig.cmake b/CPackConfig.cmake index 1af76c6..da730fd 100644 --- a/CPackConfig.cmake +++ b/CPackConfig.cmake @@ -16,7 +16,11 @@ set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) ### source generator set(CPACK_SOURCE_GENERATOR "TXZ") -set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/obj*;tags;cscope.*;.ycm_extra_conf.pyc") +set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]git;/[.]gitignore") +string(APPEND CPACK_SOURCE_IGNORE_FILES ";/build*;/obj*") +string(APPEND CPACK_SOURCE_IGNORE_FILES ";/tags;/cscope\.*") +string(APPEND CPACK_SOURCE_IGNORE_FILES ";/[.]ycm_extra_conf.pyc;") +string(APPEND CPACK_SOURCE_IGNORE_FILES ";/[.]clangd;/[.]cache;/compile_commands.json") set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") if (WIN32)