mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Evaluate the XCODE_EMBED_<type> target property through the generator expression evaluator before building the copy-files phase. Xcode shares one copy-files build phase across all configurations, so the embedded set cannot vary by configuration. Reject any expression whose result depends on the configuration, matching the existing per-source diagnostic. Fixes #28082
6 lines
141 B
CMake
6 lines
141 B
CMake
add_executable(app MACOSX_BUNDLE main.m)
|
|
|
|
set_target_properties(app PROPERTIES
|
|
XCODE_EMBED_FRAMEWORKS "$<$<CONFIG:Debug>:foo.framework>"
|
|
)
|