Skip to content
  • Gregor Jasny's avatar
    Xcode: Relax swift compiler detection regex for Xcode 11 · 5c028c27
    Gregor Jasny authored
    The Xcode 11 output:
    
    ```
      CompileSwift normal x86_64
      /Users/gregorj/Git/cmake/_build_xcode/Tests/SwiftOnly/CMakeFiles/3.15.20190826-g89479bd/CompilerIdSwift/CompilerId/main.swift
      (in target 'CompilerIdSwift' from project 'CompilerIdSwift')
    
          cd /Users/gregorj/Git/cmake/_build_xcode/Tests/SwiftOnly/CMakeFiles/3.15.20190826-g89479bd/CompilerIdSwift
          /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /Users/gregorj/Git/cmake/_build_xcode/Tests/SwiftOnly/CMakeFiles/3.15.20190826-g89479bd/CompilerIdSwift/CompilerId/main.swift ...
    ```
    
    The Xcode 10 output:
    
    ```
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
        cd /Users/gjasny/src/cmake/Tests/SwiftOnly
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name SwiftOnly -O -enable-batch-mode -enforce-exclusivity=checked -swift-v...
    5c028c27