mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -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.
8 lines
223 B
CMake
8 lines
223 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 OFF
|
|
XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY OFF
|
|
)
|