bf11253163
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`.
10 lines
452 B
ReStructuredText
10 lines
452 B
ReStructuredText
add-apple-swift-language
|
|
------------------------
|
|
|
|
* CMake learned rudimentary support for the Apple Swift language. When using
|
|
the :generator:`Xcode` generator with Xcode 6.1 or higher, one may enable
|
|
the ``Swift`` language with the :command:`enable_language` command or the
|
|
:command:`project` command (this is an error with other generators or when
|
|
Xcode is too old). Then one may list ``.swift`` source files in targets
|
|
for compilation.
|