[CMake] CPack parameters

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


Hendrik,
and you know you need to escape each \ in your camke code? (that was my 
first mistake).

Thus one backslash in regular expressions becomes four "\\\\" e.g. to 
escape the dot in CMakeLists.txt

E.g.

SET(CPACK_SOURCE_IGNORE_FILES
  ".*\\\\.xml" # globbing  *.xml
  "/CVS/"
  "/\\\\\\\\.svn/"
  "\\\\\\\\.swp$"
  "\\\\\\\\.#"
  "/#"
  )


And cpack -V jhelps.

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