[CMake] CPack parameters

Jan Woetzel jw at mip.informatik.uni-kiel.de
Thu Jul 6 10:05:56 EDT 2006


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 jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list