experimental ios comments and notes
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
c57942c693
commit
64528d731f
4
Makefile
4
Makefile
|
@ -1,6 +1,6 @@
|
||||||
IOS_OUT := ./ios
|
IOS_OUT := ./ios
|
||||||
|
|
||||||
.PHONY: all linux android windows clean
|
.PHONY: all linux android windows clean ios
|
||||||
|
|
||||||
DEFAULT_GOAL: linux
|
DEFAULT_GOAL: linux
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ libCwtch.dll: lib.go
|
||||||
clean:
|
clean:
|
||||||
rm -f cwtch.aar cwtch_go.apk libCwtch.h libCwtch.so cwtch-sources.jar libCwtch.dll
|
rm -f cwtch.aar cwtch_go.apk libCwtch.h libCwtch.so cwtch-sources.jar libCwtch.dll
|
||||||
|
|
||||||
|
# iOS - for testing purposes only for now, not officially supported
|
||||||
|
|
||||||
ios-arm64:
|
ios-arm64:
|
||||||
CGO_ENABLED=1 \
|
CGO_ENABLED=1 \
|
||||||
GOOS=darwin \
|
GOOS=darwin \
|
||||||
|
|
10
README.md
10
README.md
|
@ -2,9 +2,13 @@
|
||||||
|
|
||||||
C-bindings for the Go Cwtch Library.
|
C-bindings for the Go Cwtch Library.
|
||||||
|
|
||||||
# Build Instructions...
|
# Build Instructions
|
||||||
make linux
|
make linux
|
||||||
make android
|
make android
|
||||||
|
make windows
|
||||||
|
|
||||||
|
## Experimental iOS support
|
||||||
|
make ios
|
||||||
|
|
||||||
# Using
|
# Using
|
||||||
|
|
||||||
|
@ -16,3 +20,7 @@ C-bindings for the Go Cwtch Library.
|
||||||
## Android
|
## Android
|
||||||
|
|
||||||
- copy `cwtch.aar` into `flutter_app/android/cwtch`
|
- copy `cwtch.aar` into `flutter_app/android/cwtch`
|
||||||
|
|
||||||
|
## Windows
|
||||||
|
|
||||||
|
- copy libCwtch.dll into the directory of the `.exe` using it
|
||||||
|
|
Reference in New Issue