cpack: Ignore compile_commands.json file
authorAndreas Schneider <asn@samba.org>
Thu, 2 Apr 2020 07:30:42 +0000 (09:30 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 2 Apr 2020 09:28:52 +0000 (11:28 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@suse.de>
CPackConfig.cmake

index 3a554a90d3543086c17303c782130fe2ede43a9a..c4290ab72324f0c41f94da4f0bf3996c9d22655a 100644 (file)
@@ -14,7 +14,7 @@ set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
 
 ### source generator
 set(CPACK_SOURCE_GENERATOR "TGZ")
-set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build*;/obj*;tags;cscope.*")
+set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json")
 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
 
 if (WIN32)