mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
This commit also prepares for embedding things other than frameworks. In the future, we may want to embed resources and other types supported by Xcode, so the target properties have been documented in a way that clearly signals the future intent.
9 lines
260 B
CMake
9 lines
260 B
CMake
add_executable(app MACOSX_BUNDLE main.m)
|
|
|
|
set_target_properties(app PROPERTIES
|
|
XCODE_EMBED_FRAMEWORKS "${EXTERNAL_FWK}"
|
|
XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY ON
|
|
XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY ON
|
|
XCODE_EMBED_FRAMEWORKS_PATH "subdir"
|
|
)
|