Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
qmake allows compiling a single cpp files while targeting both a device SDK and a simulator SDK.
This is accomplished by specifying multiple flags like -m$${version_identifier}-version-min flags, -syslibroot, -isysroot prepepended by an -Xarch_
{arch}flag.
CMake currently lacks support for that, which means it is not possible build and link a library targeting both device and simulators in one build pass.
I expect that changes in CMake pertaining to CMAKE_OSX_ARCHITECTURES, find_package / find_library will be needed.
Upstream bug https://gitlab.kitware.com/cmake/cmake/issues/19534
Attachments
Issue Links
- relates to
-
QTBUG-75576 Support iOS builds
- Closed