mirror of
https://github.com/reactos/CMake.git
synced 2024-12-07 11:28:41 +00:00
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`.
6 lines
190 B
CMake
6 lines
190 B
CMake
set(CMAKE_Swift_COMPILER "@CMAKE_Swift_COMPILER@")
|
|
set(CMAKE_Swift_COMPILER_ID "@CMAKE_Swift_COMPILER_ID@")
|
|
|
|
set(CMAKE_Swift_COMPILER_ID_RUN 1)
|
|
set(CMAKE_Swift_SOURCE_FILE_EXTENSIONS swift)
|