[CMake] CPACK_SOURCE_IGNORE_FILES

David Cole david.cole at kitware.com
Tue Jun 30 12:08:09 EDT 2009


On Tue, Jun 30, 2009 at 11:43 AM, Knox, Kent <Kent.Knox at amd.com> wrote:

> Yes, this was the trick.  Thank you to Eric Noulard and David Cole
>
> "With the expression the way it is, you're trying to exclude things that
> have literal "/.txt" in them. What you want is ".txt" right?"
>
> I suppose that I'm a little confused by the RegEx.  So with the '/'
> characters, was I literally looking for a '/' characters in my search
> patterns?  Is that why they work in the directory filters?


Yes.

The variable is a list of regular expressions. Each regex is separated from
the next by the ";" characters. The "/" is literally matching. The
backslashes are double escaped because CMake and the regex processor both
use "\" as an escape character.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090630/464cf703/attachment.htm>


More information about the CMake mailing list