mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
add windows arm support
This commit is contained in:
parent
4fcd79c208
commit
9b1346d066
4
.gitignore
vendored
4
.gitignore
vendored
@ -58,8 +58,12 @@ vendor
|
|||||||
!cdeps/mac/libpng.a
|
!cdeps/mac/libpng.a
|
||||||
!cdeps/mac/amd/libpng.a
|
!cdeps/mac/amd/libpng.a
|
||||||
!cdeps/mac/m1/libpng.a
|
!cdeps/mac/m1/libpng.a
|
||||||
|
#
|
||||||
!cdeps/win32/libpng.a
|
!cdeps/win32/libpng.a
|
||||||
!cdeps/win64/libpng.a
|
!cdeps/win64/libpng.a
|
||||||
|
!cdeps/win/amd/win32/libpng.a
|
||||||
|
!cdeps/win/amd/win64/libpng.a
|
||||||
|
!cdeps/win/arm/libpng.a
|
||||||
#
|
#
|
||||||
*.la
|
*.la
|
||||||
*.lo
|
*.lo
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
#include <png.h>
|
#include <png.h>
|
||||||
#elif defined(IS_WINDOWS)
|
#elif defined(IS_WINDOWS)
|
||||||
#if defined (__x86_64__)
|
#if defined (__x86_64__)
|
||||||
#include "../cdeps/win64/png.h"
|
#include "../cdeps/amd/win64/png.h"
|
||||||
#else
|
#else
|
||||||
#include "../cdeps/win32/png.h"
|
#include "../cdeps/amd/win32/png.h"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -37,8 +37,9 @@ package robotgo
|
|||||||
//#endif
|
//#endif
|
||||||
// #cgo windows LDFLAGS: -lgdi32 -luser32 -lpng -lz
|
// #cgo windows LDFLAGS: -lgdi32 -luser32 -lpng -lz
|
||||||
#cgo windows LDFLAGS: -lgdi32 -luser32
|
#cgo windows LDFLAGS: -lgdi32 -luser32
|
||||||
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/cdeps/win64 -lpng -lz
|
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/cdeps/win/amd/win64 -lpng -lz
|
||||||
#cgo windows,386 LDFLAGS: -L${SRCDIR}/cdeps/win32 -lpng -lz
|
#cgo windows,386 LDFLAGS: -L${SRCDIR}/cdeps/win/amd/win32 -lpng -lz
|
||||||
|
#cgo windows,arm64 LDFLAGS:-L${SRCDIR}/cdeps/win/arm -lpng -lz
|
||||||
// #include <AppKit/NSEvent.h>
|
// #include <AppKit/NSEvent.h>
|
||||||
#include "screen/goScreen.h"
|
#include "screen/goScreen.h"
|
||||||
#include "mouse/goMouse.h"
|
#include "mouse/goMouse.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user