Stephen Gutekanst
45125bec55
glfw: add Windows x86_64 support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 22:59:08 -07:00
Stephen Gutekanst
36eae62fea
glfw: correct cross compilation
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-25 17:04:51 -07:00
Stephen Gutekanst
f9e098c442
glfw: add SDK_PATH for easier testing of changes to SDKs ( #6 )
...
This change makes it easier to test SDKs locally, e.g. if you have:
```
% tree projects/
projects
├── mach
│ └── glfw
└── sdk-macos-11.3
```
In the `projects/mach/glfw` directory it is now easy to test changes to `sdk-macos-11.3` using:
```sh
SDK_PATH="$(pwd)/../.." zig build test -Dtarget=aarch64-macos
```
And it'll use your local SDK, instead of the one in the appdata dir.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-24 13:38:43 -07:00
Stephen Gutekanst
161b0a540f
glfw: correct comment style
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:52:38 -07:00
Stephen Gutekanst
6308a2f8dd
glfw: move constants into separate modules
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:34:18 -07:00
Stephen Gutekanst
bfe841880d
glfw: handle windows \r\n in Apple SDK prompt
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
161e07575a
glfw: link libc
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
c4d4953f28
glfw: use cross-platform getEnvVarOwned
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
93ead5c9eb
glfw: remove symlinks from SDKs (using them on windows is annoying)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
25bfde3acf
glfw: be sure to clone SDKs with symlinks
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 17:26:32 -07:00
Stephen Gutekanst
d0ff7bb2e9
glfw: correct Linux -> MacOS cross compilation (header includes)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 16:07:41 -07:00
Stephen Gutekanst
c3da3c9804
glfw: fix -Dtarget=x86_64-macos compilation
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 14:47:10 -07:00
Stephen Gutekanst
c5c278232a
glfw: build Linux sources
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 11:25:04 -07:00
Stephen Gutekanst
e19751d91a
glfw: tidy up Options struct
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 10:04:18 -07:00
Stephen Gutekanst
2d98b0d382
glfw: build windows sources
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 10:04:18 -07:00
Stephen Gutekanst
bba27cf1aa
glfw: macOS cross compilation with automatic setup
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 01:01:51 -07:00
Stephen Gutekanst
6e5ff09e55
glfw: add basic example, building+linking on macOS is working
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-06 20:53:10 -07:00