On this page
XCODE_EMBED_<type>
New in version 3.20.
Tell the Xcode generator to embed the specified list of items into the target bundle. <type> specifies the embed build phase to use. See the Xcode documentation for the base location of each <type>.
The supported values for <type> are:
FRAMEWORKS-
The specified items will be added to the
Embed Frameworksbuild phase. The items can be CMake target names or paths to frameworks or libraries. APP_EXTENSIONS-
New in version 3.21.
The specified items will be added to the
Embed App Extensionsbuild phase, withDestinationset toPlugIns and Foundation ExtensionsThey must be CMake target names. EXTENSIONKIT_EXTENSIONS-
New in version 3.26.
The specified items will be added to the
Embed App Extensionsbuild phase, withDestinationset toExtensionKit ExtensionsThey must be CMake target names, and should likely have theXCODE_PRODUCT_TYPEtarget property set tocom.apple.product-type.extensionkit-extensionas well as theXCODE_EXPLICIT_FILE_TYPEtowrapper.extensionkit-extension PLUGINS-
New in version 3.23.
The specified items will be added to the
Embed PlugInsbuild phase. They must be CMake target names.
See also XCODE_EMBED_<type>_PATH, XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY and XCODE_EMBED_<type>_CODE_SIGN_ON_COPY.
© 2000–2023 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.26/prop_tgt/XCODE_EMBED_type.html