diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-20 15:07:40 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-20 15:07:40 +0200 |
| commit | 2a619ceba75a4c16b25de12d59a87eac795a4468 (patch) | |
| tree | 1d63a35217011fa761b703633b3f91fd839ec71e /wrappers/swift/README.md | |
| parent | 7e309b67de74fe5bd5a1c70c1880c2a381c4f78b (diff) | |
Remove: unused wrappers
Diffstat (limited to 'wrappers/swift/README.md')
| -rw-r--r-- | wrappers/swift/README.md | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/wrappers/swift/README.md b/wrappers/swift/README.md deleted file mode 100644 index 30642c4..0000000 --- a/wrappers/swift/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Swift wrapper - -## Requirements - -You will need to install the [Swift SDK](https://www.swift.org/getting-started), which includes the `swift` tool. This -project does not require Xcode as it uses the Swift Package Manager. - -## 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 -``` - -When using this library, you will need to make sure that the dynamic linker can find the shared Go library. - -Currently, `.dylib`s for multiple architectures generated by cgo are not merged into one. For a pointer on how to do -this, see [this](https://stackoverflow.com/q/22783453). - -<details><summary>Windows</summary><small> -On Windows, you will also need to generate a .lib import library for the .dll. You can -use `exports/generate_lib.ps1` -for this, passing in the path to the DLL file. Execute this from a Visual Studio Developer shell before building the -Swift project. Alternatively, you could use `objdump` and `llvm-dlltool`. You only need to update this if the list of -exported symbols changes.</small></details> - -If you just want to copy over the C header file to the right directory for the modulemap in `CEduVpnCommon`, run: - -```shell -make install-header -``` - -If you do not build this as part of the full repository, specify `EXPORTS_PATH="path/to/exports-folder"` when calling -make. This folder must contain `common.mk` and the `lib/` folder with built libraries and headers. - -Test: - -```shell -make test -``` |
