archive.rst 950 B

123456789101112131415161718192021222324252627282930313233343536
  1. CPack Archive Generator
  2. -----------------------
  3. Archive CPack generator that supports packaging of sources and binaries in
  4. different formats:
  5. - 7Z - 7zip - (.7z)
  6. - TBZ2 (.tar.bz2)
  7. - TGZ (.tar.gz)
  8. - TXZ (.tar.xz)
  9. - TZ (.tar.Z)
  10. - TZST (.tar.zst)
  11. - ZIP (.zip)
  12. Variables specific to CPack Archive generator
  13. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14. .. variable:: CPACK_ARCHIVE_FILE_NAME
  15. CPACK_ARCHIVE_<component>_FILE_NAME
  16. Package file name without extension which is added automatically depending
  17. on the archive format.
  18. * Mandatory : YES
  19. * Default : ``<CPACK_PACKAGE_FILE_NAME>[-<component>].<extension>`` with
  20. spaces replaced by '-'
  21. .. variable:: CPACK_ARCHIVE_COMPONENT_INSTALL
  22. Enable component packaging for CPackArchive
  23. * Mandatory : NO
  24. * Default : OFF
  25. If enabled (ON) multiple packages are generated. By default a single package
  26. containing files of all components is generated.