Skip to content

Commit 41b2e6f

Browse files
svanimpecompnerd
authored andcommitted
Update the SwiftPM build instructions.
1 parent 234cae7 commit 41b2e6f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ ninja -C build SwiftWin32 UICatalog
3232

3333
Building this project with swift-package-manager is experimental and does not fully function. In particular, it is not possible to deploy auxiliary files which are required for Swift/Win32 based applications to function to the correct location. However, the swift-package-manager build can be used with additional manual steps. This also enables the use of VSCode and SourceKit-LSP to develop Swift/Win32 as well as applications using this library.
3434

35-
LLD is the recommended linker to use when using swift-package-manager.
36-
3735
```cmd
38-
swift build -Xswiftc -use-ld=lld --target UICatalog
36+
swift build --product UICatalog
3937
copy Examples\UICatalog\UICatalog.exe.manifest .build\x86_64-unknown-windows-msvc\debug\
4038
copy Examples\UICatalog\Info.plist .build\x86_64-unknown-windows-msvc\debug\
4139
.build\x86_64-unknown-windows-msvc\debug\UICatalog.exe

0 commit comments

Comments
 (0)