cpack: Exclude object directories.
authorAndreas Schneider <asn@cryptomilk.org>
Mon, 16 Feb 2015 14:22:38 +0000 (15:22 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 16 Feb 2015 14:22:38 +0000 (15:22 +0100)
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
CPackConfig.cmake

index 1a4af6e..5666c5a 100644 (file)
@@ -19,7 +19,7 @@ set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSIO
 
 ### source generator
 set(CPACK_SOURCE_GENERATOR "TGZ")
-set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;/obj/;tags;cscope.*;.ycm_extra_conf.pyc")
+set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;obj*;tags;cscope.*;.ycm_extra_conf.pyc")
 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
 
 if (WIN32)