[CMake] CPack ignore parameter

Hendrik Belitz hbelitz at users.berlios.de
Thu Jul 6 11:11:37 EDT 2006


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/..."), which is not what you want...
>
> Try: "/^CPack.*" and "/.*\\\\.kdev.*"
>
> --Miguel

Okay, I tried the following

"/.*\\\\.kdev.*"
"/.*\\\\.tar\\\\.gz"
"/^CPack.*"
"/~$"

All files containing kdev or tar.gz get removed correctly, files starting with 
CPack or ending with ~ do not. Any ideas?

-- 
Hendrik Belitz
E-Mail: hendrik at darkon.info   WWW: http://www.darkon.info

program, n.:
A magic spell cast over a computer allowing it to turn one's input
into error messages.  tr.v. To engage in a pastime similar to banging
one's head against a wall, but with fewer opportunities for reward.


More information about the CMake mailing list