summaryrefslogtreecommitdiffstats
path: root/CMakeCPackOptions.cmake.in
diff options
context:
space:
mode:
authorEvan Wilde <etceterawilde@gmail.com>2022-10-11 16:56:24 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-14 13:23:47 (GMT)
commit238e0f25b273420efe8a49292c0f4f267f359db2 (patch)
tree4082ad8f5fb04fa2f477e40a64b55b5e8a498185 /CMakeCPackOptions.cmake.in
parent6063428de7707f68b14d74d93d5440c61cc50cf4 (diff)
downloadCMake-238e0f25b273420efe8a49292c0f4f267f359db2.zip
CMake-238e0f25b273420efe8a49292c0f4f267f359db2.tar.gz
CMake-238e0f25b273420efe8a49292c0f4f267f359db2.tar.bz2
Xcode: Set WMO on non-debug build configurations
This patch sets the swift compilation mode to wholemodule in the xcode generator for all non-debug build configurations at the project level. Leaving the target build-configurations default ensures that this default can be overridden easily by editing either the project configuration from the build settings editor or the per-target configuration. When set on versions of Xcode that do not recognize the `SWIFT_COMPILATION_MODE` setting, Xcode will include the option as a user-defined setting, but otherwise ignore it.
Diffstat (limited to 'CMakeCPackOptions.cmake.in')
0 files changed, 0 insertions, 0 deletions