Hendrik Belitz wrote:

Hi Andy,

I just tried the following. I added

SET(CPACK_SOURCE_IGNORE_FILES "/latex/;/xml/;/^CMake/;/\.kdev/")
Setting CPACK_IGNORE_FILES works, here.
At least for listing individual files.
I think your regular expression is wrong.

E..g.  ignore foo.xml:
SET(CPACK_IGNORE_FILES "foo\\.xml;/CVS/;/\\.svn/;;\\.swp$;\\.#;/#")

You know you need to use regular expression instead of globbing, right?

E.g.

/\.kdev/
does not drop *.kdev
CPack -V may help you debugging the lists of expressions.


Jan.

--

 Dipl.-Ing. Jan Woetzel
--------------------------------------------------
 University of Kiel
 Institute of Computer Science and Applied Mathematics
 Hermann-Rodewald-Str. 3 [room 310]
 24098 Kiel/Germany
--------------------------------------------------
 Phone +49-431-880-4477
 Fax   +49-431-880-4054
 Mob.  +49-179-2937346
--------------------------------------------------
 Url   www.mip.informatik.uni-kiel.de/~jw
 Email [EMAIL PROTECTED]

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to