The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15401 ====================================================================== Reported By: Wojciech A. Koszek Assigned To: ====================================================================== Project: CMake Issue ID: 15401 Category: CMake Reproducibility: always Severity: tweak Priority: low Status: new ====================================================================== Date Submitted: 2015-02-10 20:43 EST Last Modified: 2015-02-10 20:43 EST ====================================================================== Summary: Cmake Xcode project generation doesn't support Swift language Description: I successfully use CMake for Xcode project generation. So I run cmake -GXcode followed by xcodebuild. It seems like right now cmake knows how to recognize .m files, but doesn't know how to handle .swift files.
It would be great to teach it that. Steps to Reproduce: Tested on MacOSX Yosemite with cmake installed from "brew install cmake". <CMakeLists.txt> cmake_minimum_required (VERSION 2.6) project (sample) add_executable(sample ../sample.swift) <cmake -GXcode> [wkoszek-macbook:~/github/macb/obj] wkoszek% cmake -GXcode -- Configuring done -- Generating done CMake Error: CMake can not determine linker language for target: sample CMake Error: CMake can not determine linker language for target: sample CMake Error: CMake can not determine linker language for target: sample CMake Error: CMake can not determine linker language for target: sample CMake Error: CMake can not determine linker language for target: sample CMake Error: CMake can not determine linker language for target: sample CMake Error: CMake can not determine linker language for target: sample CMake Error: CMake can not determine linker language for target: sample -- Build files have been written to: /Users/wkoszek/github/macb/obj ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-02-10 20:43 Wojciech A. KoszekNew Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers