forked from go/golangs_learn
viviman
3 years ago
4 changed files with 12 additions and 30 deletions
@ -1,9 +1 @@ |
|||
SET CC=gcc |
|||
SET CGO_ENABLED=1 |
|||
# shellcheck disable=SC2121 |
|||
set GOARCH=amd64 |
|||
# shellcheck disable=SC2121 |
|||
set GOOS=darwin |
|||
rsrc -manifest main.manifest -ico main.ico -o main.syso |
|||
go generate |
|||
go build -gccgoflags="-DDARWIN -x objective-c -fobjc-arc" -ldflags="framework=Cocoa" . |
|||
|
@ -0,0 +1 @@ |
|||
go build -gccgoflags="-DDARWIN -x objective-c -fobjc-arc" -ldflags="framework=Cocoa" . |
@ -0,0 +1 @@ |
|||
go build -gccgoflags="-DDARWIN -x objective-c -fobjc-arc" -ldflags="framework=Cocoa" . |
Loading…
Reference in new issue