cmake/Help/prop_tgt/MACOSX_BUNDLE.rst

13 lines
561 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
MACOSX_BUNDLE
-------------
2018-10-28 12:09:07 +01:00
Build an executable as an Application Bundle on macOS or iOS.
2014-08-03 19:52:23 +02:00
2018-10-28 12:09:07 +01:00
When this property is set to ``TRUE`` the executable when built on macOS
2016-03-13 13:35:51 +01:00
or iOS will be created as an application bundle. This makes it
a GUI executable that can be launched from the Finder. See the
2018-01-26 17:06:56 +01:00
:prop_tgt:`MACOSX_BUNDLE_INFO_PLIST` target property for information about
2016-03-13 13:35:51 +01:00
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.