Apple is open sourcing Swift Build, a powerful build engine used by Xcode that transforms user inputs into output artifacts. The system aims to provide consistent cross-platform build capabilities, improve developer experience, and unify build execution across all platforms. It includes support for Linux and Windows, and will be integrated with Swift Package Manager.
https://www.swift.org/blog/the-next-chapter-in-swift-build-technologies/