[CMake] CPack ZIP generator: is there a way to avoid a root directory named ${CPACK_PACKAGE_FILE_NAME} in the zip?

Massaro Alessio Alessio.Massaro at mediobanca.co.uk
Mon Feb 13 15:03:21 EST 2012


Hi there

The CPack ZIP generator seems to always put all "installed" files in a directory called ${CPACK_PACKAGE_FILE_NAME}
So, if ${CPACK_PACKAGE_FILE_NAME}=="xyz", the zip file will have one single "xyz" directory at the root, with all "installed" files placed therein.

Does anyone know if there's a way to switch off this behavior and have everything zipped at the root of the zip file? (so no "xyz" directory containing everything)

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120213/d5775f55/attachment.htm>


More information about the CMake mailing list