Skip to content

Swift: Add abstraction for compilation mode

Evan Wilde requested to merge etcwilde/cmake:ewilde/swift-wmo into master

Add a CMAKE_Swift_COMPILATION_MODE variable and corresponding Swift_COMPILATION_MODE target property to control the compilation mode. Select among wholemodule, singlefile, and incremental.

Add policy CMP0157 to remove the default -wmo flags in favor of the abstract setting.

Issue: #25366 (closed)
Topic-rename: swift-compilation-mode

Edited by Brad King

Merge request reports