packagemaker.rst 2.6 KB

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