2013-10-15 19:17:36 +04:00
|
|
|
MACOSX_BUNDLE_INFO_PLIST
|
|
|
|
------------------------
|
|
|
|
|
2015-11-11 07:37:15 +03:00
|
|
|
Specify a custom ``Info.plist`` template for a OS X and iOS Application Bundle.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2015-10-30 16:04:52 +03:00
|
|
|
An executable target with :prop_tgt:`MACOSX_BUNDLE` enabled will be built as an
|
2015-11-11 07:37:15 +03:00
|
|
|
application bundle on OS X. By default its ``Info.plist`` file is created
|
2015-10-30 16:04:52 +03:00
|
|
|
by configuring a template called ``MacOSXBundleInfo.plist.in`` located in the
|
|
|
|
:variable:`CMAKE_MODULE_PATH`. This property specifies an alternative template
|
|
|
|
file name which may be a full path.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
|
|
|
The following target properties may be set to specify content to be
|
|
|
|
configured into the file:
|
|
|
|
|
2015-10-30 16:04:52 +03:00
|
|
|
``MACOSX_BUNDLE_BUNDLE_NAME``
|
|
|
|
Sets ``CFBundleName``.
|
|
|
|
``MACOSX_BUNDLE_BUNDLE_VERSION``
|
|
|
|
Sets ``CFBundleVersion``.
|
|
|
|
``MACOSX_BUNDLE_COPYRIGHT``
|
|
|
|
Sets ``NSHumanReadableCopyright``.
|
|
|
|
``MACOSX_BUNDLE_GUI_IDENTIFIER``
|
|
|
|
Sets ``CFBundleIdentifier``.
|
|
|
|
``MACOSX_BUNDLE_ICON_FILE``
|
|
|
|
Sets ``CFBundleIconFile``.
|
|
|
|
``MACOSX_BUNDLE_INFO_STRING``
|
|
|
|
Sets ``CFBundleGetInfoString``.
|
|
|
|
``MACOSX_BUNDLE_LONG_VERSION_STRING``
|
|
|
|
Sets ``CFBundleLongVersionString``.
|
|
|
|
``MACOSX_BUNDLE_SHORT_VERSION_STRING``
|
|
|
|
Sets ``CFBundleShortVersionString``.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
|
|
|
CMake variables of the same name may be set to affect all targets in a
|
|
|
|
directory that do not have each specific property set. If a custom
|
2015-10-30 16:04:52 +03:00
|
|
|
``Info.plist`` is specified by this property it may of course hard-code
|
2013-10-15 19:17:36 +04:00
|
|
|
all the settings instead of using the target properties.
|