mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-06 07:09:49 -06:00
This patch makes the `Swift_MODULE_DIRECTORY` property behave more like the other output directory properties, allowing generator expressions and fixing the behavior with multi-config generators. Issue: #26010
21 lines
743 B
Plaintext
21 lines
743 B
Plaintext
.*swiftc(.exe)? [^
|
|
]* -parse-as-library -static[^
|
|
]* -emit-module -emit-module-path (Debug\\|Release\\)?StaticLibrary.swiftmodule[^
|
|
]* -module-name StaticLibrary [^
|
|
]*
|
|
.*swiftc(.exe)? [^
|
|
]* -parse-as-library[^
|
|
]* -emit-module -emit-module-path (debug|release)\\modules\\DynamicLibrary.swiftmodule[^
|
|
]* -module-name DynamicLibrary [^
|
|
]*
|
|
.*swiftc(.exe)? [^
|
|
]* -emit-library [^
|
|
]* -Xlinker -implib:(Debug\\|Release\\)?DynamicLibrary.lib +-o ([A-Za-z]+/)?(Debug\\|Release\\)?DynamicLibrary.dll [^
|
|
]*
|
|
.*swiftc(.exe)? [^
|
|
]* -parse-as-library[^
|
|
]* -emit-module -emit-module-path Modules\\(Debug\\|Release\\)?DynamicLibrary2.swiftmodule[^
|
|
]* -module-name DynamicLibrary2 [^
|
|
]*
|
|
.*swiftc(.exe)? -j [0-9]+ -num-threads [0-9]+ -c -module-name Executable
|