summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/prop_tgt/MACOSX_BUNDLE.rst
blob: 92bce53eee6a04b7c3e42f51da647ea8843b3f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
MACOSX_BUNDLE
-------------

Build an executable as an Application Bundle on macOS or iOS.

When this property is set to ``TRUE`` the executable when built on macOS
or iOS will be created as an application bundle.  This makes it
a GUI executable that can be launched from the Finder.  See the
:prop_tgt:`MACOSX_BUNDLE_INFO_PLIST` target property for information about
creation of the ``Info.plist`` file for the application bundle.
This property is initialized by the value of the variable
:variable:`CMAKE_MACOSX_BUNDLE` if it is set when a target is created.