CPackArchive.cmake 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file Copyright.txt or https://cmake.org/licensing for details.
  3. #.rst:
  4. # CPackArchive
  5. # ------------
  6. #
  7. # Archive CPack generator that supports packaging of sources and binaries in
  8. # different formats:
  9. #
  10. # - 7Z - 7zip - (.7z)
  11. # - TBZ2 (.tar.bz2)
  12. # - TGZ (.tar.gz)
  13. # - TXZ (.tar.xz)
  14. # - TZ (.tar.Z)
  15. # - ZIP (.zip)
  16. #
  17. # Variables specific to CPack Archive generator
  18. # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  19. #
  20. # .. variable:: CPACK_ARCHIVE_FILE_NAME
  21. # CPACK_ARCHIVE_<component>_FILE_NAME
  22. #
  23. # Package file name without extension which is added automatically depending
  24. # on the archive format.
  25. #
  26. # * Mandatory : YES
  27. # * Default : ``<CPACK_PACKAGE_FILE_NAME>[-<component>].<extension>`` with
  28. # spaces replaced by '-'
  29. #
  30. # .. variable:: CPACK_ARCHIVE_COMPONENT_INSTALL
  31. #
  32. # Enable component packaging for CPackArchive
  33. #
  34. # * Mandatory : NO
  35. # * Default : OFF
  36. #
  37. # If enabled (ON) multiple packages are generated. By default a single package
  38. # containing files of all components is generated.