mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05: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`.
5 lines
99 B
CMake
5 lines
99 B
CMake
cmake_minimum_required(VERSION 3.3)
|
|
project(SwiftOnly Swift)
|
|
|
|
add_executable(SwiftOnly main.swift)
|