New in version 3.8.
Control emission of EFFECTIVE_PLATFORM_NAME
by the Xcode
generator.
It is required for building the same target with multiple SDKs. A common use case is the parallel use of iphoneos
and iphonesimulator
SDKs.
Three different states possible that control when the Xcode
generator emits the EFFECTIVE_PLATFORM_NAME
variable:
ON
it will always be emittedOFF
it will never be emittedNote
When this behavior is enable for generated Xcode projects, the EFFECTIVE_PLATFORM_NAME
variable will leak into Generator expressions
like TARGET_FILE
and will render those mostly unusable.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/prop_gbl/XCODE_EMIT_EFFECTIVE_PLATFORM_NAME.html