https://github.com/Kitware/CMake
Raw File
Tip revision: 1dc252ecf4d0946196133734540ebe8e90f312d3 authored by Brad King on 03 October 2016, 13:53:58 UTC
Merge branch 'fix-doc-3.7-relnotes' into release
Tip revision: 1dc252e
CMakeLists.txt
cmake_minimum_required(VERSION 3.3)
project(SwiftOnly Swift)

if(NOT XCODE_VERSION VERSION_LESS 8.0)
  set(CMAKE_Swift_LANGUAGE_VERSION 3.0)
endif()

add_executable(SwiftOnly main.swift)
back to top