summaryrefslogtreecommitdiff
path: root/Modules/CMakeSwiftCompiler.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* Swift: Restore compatibility with old C++ driverYR Chen2023-03-281-0/+2
| | | | | | | | | The `-wmo` flag added by commit 6063428de7 (Swift: Update default build flags, 2022-10-03, v3.26.0-rc1~585^2~1) behaves differently with the old driver. Detect when the old driver is being used, and avoid adding that flag. Fixes: #24641
* Swift: Exclude SDK include pathsYauheni Khnykin2020-02-101-0/+2
| | | | | | | | Populate `CMAKE_Swift_IMPLICIT_INCLUDE_DIRECTORIES` with the macOS SDK's include directory so that we filter such implicit directories out of Swift targets. Fixes: #19845
* Modules: add build rules for Swift Ninja supportSaleem Abdulrasool2019-05-161-0/+9
| | | | Add rules to support building Swift sources using Ninja.
* Add rudimentary support for the Apple Swift language with XcodeBrad King2015-07-061-0/+5
Allow the `Swift` language to be enabled with the Xcode generator for Xcode >= 6.1. Reject it on other generators and with older Xcode versions. Since Apple is the only vendor implementing the language right now, the compiler id can be just `Apple`.