MACOSX_BUNDLE_INFO_PLIST.rst 1.0 KB

1234567891011121314151617181920212223242526272829
  1. MACOSX_BUNDLE_INFO_PLIST
  2. ------------------------
  3. Specify a custom Info.plist template for a Mac OS X App Bundle.
  4. An executable target with MACOSX_BUNDLE enabled will be built as an
  5. application bundle on Mac OS X. By default its Info.plist file is
  6. created by configuring a template called MacOSXBundleInfo.plist.in
  7. located in the CMAKE_MODULE_PATH. This property specifies an
  8. alternative template file name which may be a full path.
  9. The following target properties may be set to specify content to be
  10. configured into the file:
  11. ::
  12. MACOSX_BUNDLE_INFO_STRING
  13. MACOSX_BUNDLE_ICON_FILE
  14. MACOSX_BUNDLE_GUI_IDENTIFIER
  15. MACOSX_BUNDLE_LONG_VERSION_STRING
  16. MACOSX_BUNDLE_BUNDLE_NAME
  17. MACOSX_BUNDLE_SHORT_VERSION_STRING
  18. MACOSX_BUNDLE_BUNDLE_VERSION
  19. MACOSX_BUNDLE_COPYRIGHT
  20. CMake variables of the same name may be set to affect all targets in a
  21. directory that do not have each specific property set. If a custom
  22. Info.plist is specified by this property it may of course hard-code
  23. all the settings instead of using the target properties.