diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-03-21 19:34:30 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-04-19 14:54:17 +0200 |
commit | 0041ddce7420aafdb8bb032058a42d47afa34c6d (patch) | |
tree | f30bc22331341f41cc20bf2d51dfb27ac84c5076 /src/corelib/doc/snippets/code/src_corelib_tools_qscopeguard.cpp | |
parent | 988039729f55a5e62e32b82c6f29ff7457e91d9d (diff) |
CMake: Improve Xcode projects for single SDK builds on Apple platforms
Xcode expects the base SDK to always be the device SDK, so we can't
pass CMAKE_OSX_SYSROOT on directly.
We use the Xcode SUPPORTED_PLATFORMS setting to inform Xcode about
which targets we can actually build and run for.
The logic is only triggered for single-arch Qt builds.
Change-Id: I0012e220cb415fcc5995672ffd60b25ef7eeb4e7
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets/code/src_corelib_tools_qscopeguard.cpp')
0 files changed, 0 insertions, 0 deletions