CPackProductBuild.cmake 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. # CPackProductBuild
  5. # -----------------
  6. #
  7. # productbuild CPack generator (Mac OS X).
  8. #
  9. # Variables specific to CPack productbuild generator
  10. # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  11. #
  12. # The following variable is specific to installers built on Mac
  13. # OS X using productbuild:
  14. #
  15. # .. variable:: CPACK_COMMAND_PRODUCTBUILD
  16. #
  17. # Path to the productbuild(1) command used to generate a product archive for
  18. # the OS X Installer or Mac App Store. This variable can be used to override
  19. # the automatically detected command (or specify its location if the
  20. # auto-detection fails to find it.)
  21. #
  22. # .. variable:: CPACK_PRODUCTBUILD_IDENTITY_NAME
  23. #
  24. # Adds a digital signature to the resulting package.
  25. #
  26. #
  27. # .. variable:: CPACK_PRODUCTBUILD_KEYCHAIN_PATH
  28. #
  29. # Specify a specific keychain to search for the signing identity.
  30. #
  31. #
  32. # .. variable:: CPACK_COMMAND_PKGBUILD
  33. #
  34. # Path to the pkgbuild(1) command used to generate an OS X component package
  35. # on OS X. This variable can be used to override the automatically detected
  36. # command (or specify its location if the auto-detection fails to find it.)
  37. #
  38. #
  39. # .. variable:: CPACK_PKGBUILD_IDENTITY_NAME
  40. #
  41. # Adds a digital signature to the resulting package.
  42. #
  43. #
  44. # .. variable:: CPACK_PKGBUILD_KEYCHAIN_PATH
  45. #
  46. # Specify a specific keychain to search for the signing identity.
  47. #
  48. #
  49. # .. variable:: CPACK_PREFLIGHT_<COMP>_SCRIPT
  50. #
  51. # Full path to a file that will be used as the ``preinstall`` script for the
  52. # named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
  53. # component name. No ``preinstall`` script is added if this variable is not
  54. # defined for a given component.
  55. #
  56. #
  57. # .. variable:: CPACK_POSTFLIGHT_<COMP>_SCRIPT
  58. #
  59. # Full path to a file that will be used as the ``postinstall`` script for the
  60. # named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
  61. # component name. No ``postinstall`` script is added if this variable is not
  62. # defined for a given component.
  63. #
  64. #
  65. # .. variable:: CPACK_PRODUCTBUILD_RESOURCES_DIR
  66. #
  67. # If specified the productbuild generator copies files from this directory
  68. # (including subdirectories) to the ``Resources`` directory. This is done
  69. # before the :variable:`CPACK_RESOURCE_FILE_WELCOME`,
  70. # :variable:`CPACK_RESOURCE_FILE_README`, and
  71. # :variable:`CPACK_RESOURCE_FILE_LICENSE` files are copied.