Skip to content

Commit

Permalink
build win added
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrenin7 committed Jul 6, 2022
1 parent e0ef0e1 commit 9537b2f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build_win.sh
@@ -0,0 +1,11 @@
rm -rf ./e22config.exe
clear

#export WORK=./work
export CGO_ENABLED=1
export CC=x86_64-w64-mingw32-gcc
#export CXX=x86_64-w64-mingw32-g++
export GOOS=windows
export GOARCH=amd64
go build -x -v -ldflags "-s -w" -o e22config.exe
# -x -v -ldflags "-s -w"

0 comments on commit 9537b2f

Please sign in to comment.