packagemaker.rst 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. CPack PackageMaker Generator
  2. ----------------------------
  3. PackageMaker CPack generator (macOS).
  4. .. deprecated:: 3.17
  5. Xcode no longer distributes the PackageMaker tools.
  6. This CPack generator will be removed in a future version of CPack.
  7. Variables specific to CPack PackageMaker generator
  8. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9. The following variable is specific to installers built on Mac
  10. macOS using PackageMaker:
  11. .. variable:: CPACK_OSX_PACKAGE_VERSION
  12. The version of macOS that the resulting PackageMaker archive should be
  13. compatible with. Different versions of macOS support different
  14. features. For example, CPack can only build component-based installers for
  15. macOS 10.4 or newer, and can only build installers that download
  16. components on-the-fly for macOS 10.5 or newer. If left blank, this value
  17. will be set to the minimum version of macOS that supports the requested
  18. features. Set this variable to some value (e.g., 10.4) only if you want to
  19. guarantee that your installer will work on that version of macOS, and
  20. don't mind missing extra features available in the installer shipping with
  21. later versions of macOS.
  22. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND
  23. Adds a background to Distribution XML if specified. The value contains the
  24. path to image in ``Resources`` directory.
  25. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_ALIGNMENT
  26. Adds an ``alignment`` attribute to the background in Distribution XML.
  27. Refer to Apple documentation for valid values.
  28. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_SCALING
  29. Adds a ``scaling`` attribute to the background in Distribution XML.
  30. Refer to Apple documentation for valid values.
  31. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_MIME_TYPE
  32. Adds a ``mime-type`` attribute to the background in Distribution XML.
  33. The option contains MIME type of an image.
  34. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_UTI
  35. Adds an ``uti`` attribute to the background in Distribution XML.
  36. The option contains UTI type of an image.
  37. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_DARKAQUA
  38. Adds a background for the Dark Aqua theme to Distribution XML if
  39. specified. The value contains the path to image in ``Resources``
  40. directory.
  41. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_DARKAQUA_ALIGNMENT
  42. Does the same as :variable:`CPACK_PACKAGEMAKER_BACKGROUND_ALIGNMENT` option,
  43. but for the dark theme.
  44. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_DARKAQUA_SCALING
  45. Does the same as :variable:`CPACK_PACKAGEMAKER_BACKGROUND_SCALING` option,
  46. but for the dark theme.
  47. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_DARKAQUA_MIME_TYPE
  48. Does the same as :variable:`CPACK_PACKAGEMAKER_BACKGROUND_MIME_TYPE` option,
  49. but for the dark theme.
  50. .. variable:: CPACK_PACKAGEMAKER_BACKGROUND_DARKAQUA_UTI
  51. Does the same as :variable:`CPACK_PACKAGEMAKER_BACKGROUND_UTI` option,
  52. but for the dark theme.