blob: 443a645e4484f04a0574878a3e5809a767f96865 [file] [log] [blame]
Specify a custom ``Info.plist`` template for a macOS and iOS Application Bundle.
An executable target with :prop_tgt:`MACOSX_BUNDLE` enabled will be built as an
application bundle on macOS. By default its ``Info.plist`` file is created
by configuring a template called ```` located in the
:variable:`CMAKE_MODULE_PATH`. This property specifies an alternative template
file name which may be a full path.
The following target properties may be set to specify content to be
configured into the file:
Sets ``CFBundleName``.
Sets ``CFBundleVersion``.
Sets ``NSHumanReadableCopyright``.
Sets ``CFBundleIdentifier``.
Sets ``CFBundleIconFile``.
Sets ``CFBundleGetInfoString``.
Sets ``CFBundleLongVersionString``.
Sets ``CFBundleShortVersionString``.
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
``Info.plist`` is specified by this property it may of course hard-code
all the settings instead of using the target properties.