2013-10-15 19:17:36 +04:00
|
|
|
MACOSX_FRAMEWORK_INFO_PLIST
|
|
|
|
---------------------------
|
|
|
|
|
2015-11-11 07:37:15 +03:00
|
|
|
Specify a custom ``Info.plist`` template for a OS X and iOS Framework.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2015-10-30 16:04:52 +03:00
|
|
|
A library target with :prop_tgt:`FRAMEWORK` enabled will be built as a
|
2015-11-11 07:37:15 +03:00
|
|
|
framework on OS X. By default its ``Info.plist`` file is created by
|
2015-10-30 16:04:52 +03:00
|
|
|
configuring a template called ``MacOSXFrameworkInfo.plist.in`` located in the
|
|
|
|
:variable:`CMAKE_MODULE_PATH`. This property specifies an alternative template
|
2013-10-15 19:17:36 +04:00
|
|
|
file name which may be a full path.
|
|
|
|
|
|
|
|
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_FRAMEWORK_BUNDLE_VERSION``
|
|
|
|
Sets ``CFBundleVersion``.
|
|
|
|
``MACOSX_FRAMEWORK_ICON_FILE``
|
|
|
|
Sets ``CFBundleIconFile``.
|
|
|
|
``MACOSX_FRAMEWORK_IDENTIFIER``
|
|
|
|
Sets ``CFBundleIdentifier``.
|
|
|
|
``MACOSX_FRAMEWORK_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.
|