archive.rst 930 B

1234567891011121314151617181920212223242526272829303132333435
  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. - ZIP (.zip)
  11. Variables specific to CPack Archive generator
  12. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  13. .. variable:: CPACK_ARCHIVE_FILE_NAME
  14. CPACK_ARCHIVE_<component>_FILE_NAME
  15. Package file name without extension which is added automatically depending
  16. on the archive format.
  17. * Mandatory : YES
  18. * Default : ``<CPACK_PACKAGE_FILE_NAME>[-<component>].<extension>`` with
  19. spaces replaced by '-'
  20. .. variable:: CPACK_ARCHIVE_COMPONENT_INSTALL
  21. Enable component packaging for CPackArchive
  22. * Mandatory : NO
  23. * Default : OFF
  24. If enabled (ON) multiple packages are generated. By default a single package
  25. containing files of all components is generated.