mirror of
https://github.com/qtgolang/SunnyNet.git
synced 2026-08-30 22:11:29 -07:00
10 lines
279 B
Batchfile
10 lines
279 B
Batchfile
@echo off
|
|
set CGO_ENABLED=1
|
|
set GOOS=windows
|
|
set GOARCH=386
|
|
set tmpPath=%~dp0
|
|
cd %tmpPath:~0,1%:
|
|
for %%I in ("%tmpPath%..\") do set "parentPath=%%~fI"
|
|
cd %parentPath%
|
|
go build -trimpath -buildmode=c-shared -ldflags "-s -w" -o "%tmpPath%Library\windows\x32\SunnyNet.dll"
|
|
@echo on |