mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
Executables that don't export a public API should not emit a swiftmodule, but the swift modulename is observable from within the program, so we should still set the module name on executable builds. Fixes: #25710
6 lines
258 B
Plaintext
6 lines
258 B
Plaintext
.*swiftc(.exe)? .* -parse-as-library -static -emit-module .* -module-name StaticLibrary [^
|
|
]*
|
|
.*swiftc(.exe)? .* -parse-as-library -emit-module .* -module-name DynamicLibrary [^
|
|
]*
|
|
.*swiftc(.exe)? .* -j [0-9]* -num-threads [0-9]* -c -module-name Executable
|