CPackBundle.cmake 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. # CPackBundle
  5. # -----------
  6. #
  7. # CPack Bundle generator (Mac OS X) specific options
  8. #
  9. # Variables specific to CPack Bundle generator
  10. # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  11. #
  12. # Installers built on Mac OS X using the Bundle generator use the
  13. # aforementioned DragNDrop (CPACK_DMG_xxx) variables, plus the following
  14. # Bundle-specific parameters (CPACK_BUNDLE_xxx).
  15. #
  16. # .. variable:: CPACK_BUNDLE_NAME
  17. #
  18. # The name of the generated bundle. This appears in the OSX finder as the
  19. # bundle name. Required.
  20. #
  21. # .. variable:: CPACK_BUNDLE_PLIST
  22. #
  23. # Path to an OSX plist file that will be used for the generated bundle. This
  24. # assumes that the caller has generated or specified their own Info.plist
  25. # file. Required.
  26. #
  27. # .. variable:: CPACK_BUNDLE_ICON
  28. #
  29. # Path to an OSX icon file that will be used as the icon for the generated
  30. # bundle. This is the icon that appears in the OSX finder for the bundle, and
  31. # in the OSX dock when the bundle is opened. Required.
  32. #
  33. # .. variable:: CPACK_BUNDLE_STARTUP_COMMAND
  34. #
  35. # Path to a startup script. This is a path to an executable or script that
  36. # will be run whenever an end-user double-clicks the generated bundle in the
  37. # OSX Finder. Optional.
  38. #
  39. # .. variable:: CPACK_BUNDLE_APPLE_CERT_APP
  40. #
  41. # The name of your Apple supplied code signing certificate for the application.
  42. # The name usually takes the form "Developer ID Application: [Name]" or
  43. # "3rd Party Mac Developer Application: [Name]". If this variable is not set
  44. # the application will not be signed.
  45. #
  46. # .. variable:: CPACK_BUNDLE_APPLE_ENTITLEMENTS
  47. #
  48. # The name of the plist file that contains your apple entitlements for sandboxing
  49. # your application. This file is required for submission to the Mac App Store.
  50. #
  51. # .. variable:: CPACK_BUNDLE_APPLE_CODESIGN_FILES
  52. #
  53. # A list of additional files that you wish to be signed. You do not need to
  54. # list the main application folder, or the main executable. You should
  55. # list any frameworks and plugins that are included in your app bundle.
  56. #
  57. # .. variable:: CPACK_BUNDLE_APPLE_CODESIGN_PARAMETER
  58. #
  59. # Additional parameter that will passed to codesign.
  60. # Default value: "--deep -f"
  61. #
  62. # .. variable:: CPACK_COMMAND_CODESIGN
  63. #
  64. # Path to the codesign(1) command used to sign applications with an
  65. # Apple cert. This variable can be used to override the automatically
  66. # detected command (or specify its location if the auto-detection fails
  67. # to find it.)
  68. #Bundle Generator specific code should be put here