wireguard-apple/WireGuard
Roopesh Chander be25d9d491 Xcode: Make Xcode build libwg-go.a automatically
This is based on Jeroen Leenarts' work (commit a3cdb84)
and Jason Donenfeld's work (commit 9d01829).

To reproduce:

In Xcode, add a new target called 'WireGuardGoBridge' with
the Cross-platform > External build system template. Configure
that target with the 'make' build tool and ask it to build on the
wireguard-go-bridge directory.

The Makefile in wireguard-go-bridge is already configured to
handle being called from Xcode as an external build system.

In WireGuardNetworkExtension's build phases, add a dependancy to
WireGuardGoBridge, and ask it to link to libwg-go.a (the make command
shall generate this archive). Add libwg-go.a as a library to be linked
with.

Edit the Xcode pbxproj file and in the file reference entry for
libwg-go.a, set path as "libwg-go.a" and sourceTree as
BUILT_PRODUCTS_DIR.
2018-10-27 19:07:16 +05:30
..
WireGuard VPN: Fix DNS resolution API 2018-10-27 19:07:16 +05:30
WireGuard.xcodeproj Xcode: Make Xcode build libwg-go.a automatically 2018-10-27 19:07:16 +05:30
WireGuardNetworkExtension NE: Add bridging header 2018-10-27 19:07:16 +05:30