mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
add windows dependency
This commit is contained in:
parent
fb382d9e8d
commit
ad631a1f96
10
.gitignore
vendored
10
.gitignore
vendored
@ -36,11 +36,13 @@ _testmain.go
|
||||
|
||||
# Libraries
|
||||
*.lib
|
||||
!cdeps/win32/libpng.lib
|
||||
!cdeps/win32/zlib.lib
|
||||
!cdeps/win64/libpng.lib
|
||||
!cdeps/win64/zlib.lib
|
||||
# !cdeps/win32/libpng.lib
|
||||
# !cdeps/win32/zlib.lib
|
||||
# !cdeps/win64/libpng.lib
|
||||
# !cdeps/win64/zlib.lib
|
||||
*.a
|
||||
!cdeps/win32/libpng.a
|
||||
!cdeps/win64/libpng.a
|
||||
*.la
|
||||
*.lo
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
BIN
cdeps/win64/libpng.a
Normal file
BIN
cdeps/win64/libpng.a
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -37,8 +37,8 @@ package robotgo
|
||||
//#endif
|
||||
// #cgo windows LDFLAGS: -lgdi32 -luser32 -lpng -lz
|
||||
#cgo windows LDFLAGS: -lgdi32 -luser32
|
||||
#cgo windows,amd64 LDFLAGS: -L/cdeps/win64 -lpng -L/cdeps/win64 -lz
|
||||
#cgo windows,386 LDFLAGS: -L/cdeps/win32 -lpng -L/cdeps/win32 -lz
|
||||
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/cdeps/win64 -lpng -L${SRCDIR}/cdeps/win64 -lz
|
||||
#cgo windows,386 LDFLAGS: -L${SRCDIR}/cdeps/win32 -lpng -L${SRCDIR}/cdeps/win32 -lz
|
||||
// #include <AppKit/NSEvent.h>
|
||||
#include "screen/goScreen.h"
|
||||
#include "mouse/goMouse.h"
|
||||
@ -64,7 +64,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version string = "v0.46.6.429, Pyrenees Mountains!"
|
||||
version string = "v0.46.6.431, Pyrenees Mountains!"
|
||||
)
|
||||
|
||||
type (
|
||||
|
Loading…
Reference in New Issue
Block a user