From ae826fde04191d26af68b898cf4b2f537d24a8ec Mon Sep 17 00:00:00 2001 From: StevenWdV Date: Tue, 14 Dec 2021 15:56:10 +0100 Subject: Add Swift wrapper, support more platforms in Makefile --- wrappers/swift/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 wrappers/swift/README.md (limited to 'wrappers/swift/README.md') diff --git a/wrappers/swift/README.md b/wrappers/swift/README.md new file mode 100644 index 0000000..8259592 --- /dev/null +++ b/wrappers/swift/README.md @@ -0,0 +1,27 @@ +# Swift wrapper + +## Requirements + +You will need to install the [Swift SDK](https://www.swift.org/getting-started), which includes the `swift` tool. + +## Build & test + +Build `EduVpnCommon` using shared Go library for current platform: + +```shell +make +``` + +Build `EduVpnCommon` using shared Go library for specified platform, e.g.: + +```shell +make GOOS=linux GOARCH=amd64 +``` + +On Windows, you will also need to generate a .lib for the .dll. + +Test: + +```shell +make test +``` -- cgit v1.2.3