[CMake] CPack parameters

Hendrik Belitz hbelitz at users.berlios.de
Thu Jul 6 09:15:25 EDT 2006


Hi Andy,

I just tried the following. I added

SET(CPACK_SOURCE_IGNORE_FILES "/latex/;/xml/;/^CMake/;/\.kdev/")

to my CMakeLists.txt, run cmake. and afterwards created a source package
 using

cpack -G TGZ --config CPackSourceConfig.cmake

My intention was to exclude my documentation directories, the
CMake-Directories containing automatically generated files and my KDevelop
projects files (who's extension includes at least '.kdev'). Neither of these
things was ignored, all files could be found in the resulting archive file.
What am I doing wrong?

--------------
Dipl.-Inform. Hendrik Belitz
Central Institute of Electronics / Zentralinstitut für Elektronik
 Multimodal image processing workgroup / AG Multimodale Bildverarbeitung
Research Center Juelich / Forschungszentrum Jülich GmbH
D-52428 Jülich, Germany
Tel.: (++49)2461 61 8701 Fax: (++49)2461 61 3990
email: hbelitz at users.berlios.de / h.belitz at fz-juelich.de (only until
July,31th)
PLEASE NOTE: Due to a job change, I will no longer be reachable under the
adress h.belitz at fz-juelich.de after July,31th,2006
ggp-key available via http://pgpkeys.pca.dfn.de


More information about the CMake mailing list