mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Extract SetupResponseFile and ExpandRuleCommands helpers from WriteCompileRule to allow reuse by new rule types. Reorder flag appending in WriteSwiftObjectBuildStatement so that -module-name and -module-link-name precede -emit-module, preparing for a separate emit-module edge that shares common flags. Update test regexes accordingly. Issue: #27748
21 lines
750 B
Plaintext
21 lines
750 B
Plaintext
.*swiftc(\.exe)?"? [^
|
|
]* -parse-as-library -static[^
|
|
]* -module-name StaticLibrary [^
|
|
]* -emit-module -emit-module-path (Debug/|Release/)?StaticLibrary\.swiftmodule [^
|
|
]*
|
|
.*swiftc(\.exe)?"? [^
|
|
]* -parse-as-library[^
|
|
]* -module-name DynamicLibrary [^
|
|
]* -emit-module -emit-module-path (debug|release)/modules/DynamicLibrary\.swiftmodule [^
|
|
]*
|
|
.*swiftc(\.exe)?"? [^
|
|
]* -emit-library [^
|
|
]* -Xlinker -install_name -Xlinker @rpath/libDynamicLibrary\.dylib -o ([A-Za-z]+/)?libDynamicLibrary\.dylib [^
|
|
]*
|
|
.*swiftc(\.exe)?"? [^
|
|
]* -parse-as-library[^
|
|
]* -module-name DynamicLibrary2 [^
|
|
]* -emit-module -emit-module-path Modules/(Debug/|Release/)?DynamicLibrary2\.swiftmodule [^
|
|
]*
|
|
.*swiftc(\.exe)?"? -j [0-9]+ -num-threads [0-9]+ -c -module-name Executable
|