XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY — CMake 4.2.6 Documentation

# XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY

Added in version 3.20.

Boolean property used only by the `Xcode` generator. It specifies whether to remove headers from all the frameworks that are embedded using the `XCODE_EMBED_<type>` property.

The supported values for `<type>` are:

`FRAMEWORKS`

  If the `XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY` property is not defined, headers will not be removed on copy by default.

`APP_EXTENSIONS`

  Added in version 3.21.

  If the `XCODE_EMBED_APP_EXTENSIONS_REMOVE_HEADERS_ON_COPY` property is not defined, headers WILL be removed on copy by default.

`EXTENSIONKIT_EXTENSIONS`

  Added in version 3.26.

  If the `XCODE_EMBED_APP_EXTENSIONS_REMOVE_HEADERS_ON_COPY` property is not defined, headers WILL be removed on copy by default.

`PLUGINS`

  Added in version 3.23.