2 Commits
Author SHA1 Message Date
Charles ZablitandCory Benfield ac5e08be49 [CMake] Require CMake 3.29 and drop the CMP0157 checks (#325)
Follow-up to #324: require CMake 3.29 instead of checking for CMP0157,
and leave `CMAKE_Swift_COMPILATION_MODE` to the caller. The toolchain
build passes it (swiftlang/swift#94066).

Tracking: swiftlang/swift#93995

assisted by Claude

Co-authored-by: Cory Benfield <lukasa@apple.com>
2026-11-20 19:02:07 +00:00
Charles Zablit 5e9d180069 [CMake] Enable CMP0157 and keep whole-module builds for optimized configs (#324)
Enable CMP0157 so Ninja compiles each Swift module in its own step,
separate from the link. Optimized configurations keep `-wmo`, as under
the old policy.

Tracking: swiftlang/swift#93995

assisted by Claude
2026-11-05 13:43:34 +00:00