mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 07:41:15 +00:00
10c9c73d58
When building with multiple SDKs within one project Xcode requires the usage of ${EFFECTIVE_PLATFORM_NAME} to put temporary and build outout into separate directories. For example an iOS device and simulator build use two different SDKs (iphoneos and iphonesimulator). In the past cmake tries to detect embedded toolchains that could possibly use simulators and emitted EFFECTIVE_PLATFORM_NAME (EPN) at the proper locations. In #16253 Mark noticed that if he uses macosx and iphoneos in combination the necessary EPN is not emitted. This is because CMake by default assumes macosx SDK which does not trigger EPN emission. The fist naive approach - enabling EPN unconditionally revealed that then the EPN leaks into generator expressions like $<TARGET_FILE:xxx> which might be a regression and thus is unacceptable. The next approach was to add an CMake property to enable EPN emission unconditionally. This solved the reported problem. But the EPN leakage also happened for the embedded toolchains already without anyone noticing. So the control property was turned into a tri-state one: * No definition: EPN is activated for embedded toolchains like before * ON: EPN is always emitted * OFF: EPN is never emitted That approach gives the user the chance to disable EPN for embedded toolchains and restores generator expression functionality for those. Closes: #16253 |
||
---|---|---|
.. | ||
ALLOW_DUPLICATE_CUSTOM_TARGETS.rst | ||
AUTOGEN_TARGETS_FOLDER.rst | ||
AUTOMOC_TARGETS_FOLDER.rst | ||
CMAKE_C_KNOWN_FEATURES.rst | ||
CMAKE_CXX_KNOWN_FEATURES.rst | ||
DEBUG_CONFIGURATIONS.rst | ||
DISABLED_FEATURES.rst | ||
ECLIPSE_EXTRA_NATURES.rst | ||
ENABLED_FEATURES.rst | ||
ENABLED_LANGUAGES.rst | ||
FIND_LIBRARY_USE_LIB32_PATHS.rst | ||
FIND_LIBRARY_USE_LIB64_PATHS.rst | ||
FIND_LIBRARY_USE_OPENBSD_VERSIONING.rst | ||
GLOBAL_DEPENDS_DEBUG_MODE.rst | ||
GLOBAL_DEPENDS_NO_CYCLES.rst | ||
IN_TRY_COMPILE.rst | ||
JOB_POOLS.rst | ||
PACKAGES_FOUND.rst | ||
PACKAGES_NOT_FOUND.rst | ||
PREDEFINED_TARGETS_FOLDER.rst | ||
REPORT_UNDEFINED_PROPERTIES.rst | ||
RULE_LAUNCH_COMPILE.rst | ||
RULE_LAUNCH_CUSTOM.rst | ||
RULE_LAUNCH_LINK.rst | ||
RULE_MESSAGES.rst | ||
TARGET_ARCHIVES_MAY_BE_SHARED_LIBS.rst | ||
TARGET_MESSAGES.rst | ||
TARGET_SUPPORTS_SHARED_LIBS.rst | ||
USE_FOLDERS.rst | ||
XCODE_EMIT_EFFECTIVE_PLATFORM_NAME.rst |