Re: [CMake] CPack ignore parameter

2006-07-06 Thread Hendrik Belitz
Am Donnerstag, 6. Juli 2006 17:26 schrieben Sie: > You still have leading "/" in all of your regular expressions... > > Try these: (for "begins with CPack" and "ends with ~") > > "^CPack" > "~$" Deleting the trailing slashes leads to patterns which seem not to work anyway. E.g. ".*.tar.gz"

Re: [CMake] CPack ignore parameter

2006-07-06 Thread David Cole
Or perhaps "^/CPack" for "begins with /CPack" or perhaps ".*/CPack" for "contains /CPack" David Cole wrote: You still have leading "/" in all of your regular expressions... Try these: (for "begins with CPack" and "ends with ~") "^CPack" "~$" Hendrik Belitz wrote: Am Donnerstag, 6. Juli 20

Re: [CMake] CPack ignore parameter

2006-07-06 Thread David Cole
You still have leading "/" in all of your regular expressions... Try these: (for "begins with CPack" and "ends with ~") "^CPack" "~$" Hendrik Belitz wrote: Am Donnerstag, 6. Juli 2006 16:44 schrieben Sie: why are you ending each regular expression with '/' ? I haven't tried any of this,

Re: [CMake] CPack ignore parameter

2006-07-06 Thread Hendrik Belitz
Am Donnerstag, 6. Juli 2006 16:44 schrieben Sie: > why are you ending each regular expression with '/' ? I haven't tried > any of this, but it seems that your regular expression "/^CPack.*/" > will catch any path containing a *directory* that starts with CPack > (i.e., ".../CPackConfig.cmake/...")

Re: [CMake] CPack ignore parameter

2006-07-06 Thread Miguel A. Figueroa-Villanueva
On 7/6/06, Hendrik Belitz <[EMAIL PROTECTED]> wrote: So the following SET(CPACK_SOURCE_IGNORE_FILES "/^CPack.*/" "/.*.kdev.*/") should result in ignoring all files Starting with 'CPack' or containing '.kdev', right? But why does this not lead to exclusion of files like 'CPackConfig.cmake'

Re: [CMake] CPack ignore parameter

2006-07-06 Thread Jan Woetzel
Hendrik Belitz wrote: So the following SET(CPACK_SOURCE_IGNORE_FILES "/^CPack.*/" "/.*.kdev.*/") should result in ignoring all files Starting with 'CPack' or containing '.kdev', right? No. Note the / forward slashes - they catch directories. Start playing with ".*.kdev" See http

Re: [CMake] CPack ignore parameter

2006-07-06 Thread Hendrik Belitz
So the following SET(CPACK_SOURCE_IGNORE_FILES "/^CPack.*/" "/.*.kdev.*/") should result in ignoring all files Starting with 'CPack' or containing '.kdev', right? But why does this not lead to exclusion of files like 'CPackConfig.cmake' or 'myproject.kdevses' ? ___