[CMake] cpack, deb file & static libraries

Rolf Eike Beer eike at sf-mail.de
Sat Nov 20 10:14:02 EST 2010


Am Samstag, 20. November 2010 schrieb Paolo Zaffino:
> Dear all,
> I builded a deb file using cpack.
> The package work fine but I have a question for you.
> During the compiling (run by cpack command) are generated some static
> libraries that will be included into the package.
> I don't want include the *.a files...do you know a way for exclude them
> from the deb file?

Do not INSTALL them. Only things that are handled by one INSTALL(foo) command 
will be added to the packages.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101120/34cef12a/attachment.pgp>


More information about the CMake mailing list