[swift-users] CMake use in Swift

Chris Lattner clattner at apple.com
Thu Dec 3 16:35:54 CST 2015


> On Dec 3, 2015, at 2:20 PM, Colin Cornaby <colin.cornaby at mac.com> wrote:
> 
> We support tons of different platforms, but we've traditionally use separate project files for each platform (VC projects/solutions for Windows, xcodeproj for Apple platforms, scripts or make for Linux, scripts for Android...) Recently our lower level teams have been agreeing that CMake is the best way forward to wrangle this mess, but some of our Apple platform devs have expressed concern that they don't know if the CMake output for Xcode will reliably pick good defaults compared to a hand maintained Xcode project.
> 
> Our CMake proponents are very excited to see Swift using CMake as it gives us a prominent use case for CMake on Apple platforms. We've seen CMake support previously in platforms like WebKit, but seeing it in Swift really got people excited.

Hi Colin,

FWIW, we also use CMake in the LLVM family of projects, which Swift works very closely with.

-Chris



More information about the swift-users mailing list