summaryrefslogtreecommitdiffstats
path: root/Tests/SwiftOnly
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Add option to set Swift language versionBrad King2016-09-261-0/+4
| | | | | | | | | | Create a new CMAKE_Swift_LANGUAGE_VERSION variable to specify the SWIFT_VERSION attribute in a generated Xcode project. Ideally this would be a `<LANG>_STANDARD` property but since Swift support is very minimal we should reserve that property for more complete treatment later. Issue: #16326
* Swift: Use dump instead of printlnGregor Jasny2015-09-011-1/+1
| | | | | With Swift 2.0 in Xcode7 the println function was renamed into print. Use dump function instead which adds newlines like println.
* Add rudimentary support for the Apple Swift language with XcodeBrad King2015-07-062-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`.