summaryrefslogtreecommitdiffstats
path: root/Tests/SwiftMix
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Evaluate Swift compile definitions separatelyBrad King2022-10-253-0/+34
| | | | | | | | | | | | | | | | | | 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-012-1/+2
|
* SwiftMix: Get rid of pointer types mismatch warningGregor Jasny2019-05-012-4/+4
|
* Swift: Simplify mixed test case to make it version agnosticGregor Jasny2017-03-292-20/+3
| | | | Issue: #16742
* Swift: Default to Swift 3.0 with Xcode 8.3 and laterGregor Jasny2017-03-282-1/+14
| | | | | | | Xcode 8.3 has dropped support for Swift 2.3 so that compiler and feature detection failed. Closes #16742
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-1/+2
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* 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-065-0/+23
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`.