Revision c0dd3dd2c13d8b7621bc86b6ea93e9188ab5dba7 authored by Brad King on 25 October 2022, 15:56:34 UTC, committed by Brad King on 25 October 2022, 18:09:28 UTC
Xcode has a separate setting for Swift compile definitions, so we can
compute a dedicated value for it.  Therefore we can:

* Support the COMPILE_LANGUAGE generator expression for Swift-specific
  filters.

* Avoid passing the `=value` part of definitions, which Swift does
  not support.

This revises commit 5cb625eb2f (Xcode: Pass compile definitions to
Swift, 2022-06-19, v3.25.0-rc1~493^2) and reverts commit 12c6fec6b4
(Xcode: Drop CMAKE_INTDIR= definition in Swift targets, 2022-09-30,
v3.25.0-rc1~60^2~2), as the latter is no longer needed.

Fixes: #24086
1 parent 19f49a7
History
File Mode Size
CMakeCommands
CMakeLists.txt -rw-r--r-- 1.5 KB
LoadedCommand.cxx.in -rw-r--r-- 588 bytes
LoadedCommand.h.in -rw-r--r-- 122 bytes

back to top