summaryrefslogtreecommitdiffstats
path: root/Tests/SwiftMix/SwiftMain.swift
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Evaluate Swift compile definitions separatelyBrad King2022-10-251-0/+20
| | | | | | | | | | | | | | | | | | 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
* SwiftMix: properly export SwiftMain methodGregor Jasny2019-05-011-1/+1
|
* Swift: Simplify mixed test case to make it version agnosticGregor Jasny2017-03-291-13/+2
| | | | Issue: #16742
* Swift: Default to Swift 3.0 with Xcode 8.3 and laterGregor Jasny2017-03-281-0/+7
| | | | | | | Xcode 8.3 has dropped support for Swift 2.3 so that compiler and feature detection failed. Closes #16742
* Swift: Make SwiftMix compatible with Swift 2Gregor Jasny2015-09-031-2/+4
|
* Swift: Use dump instead of printlnGregor Jasny2015-09-011-2/+2
| | | | | 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-061-0/+10
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`.