You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add macOS (arm64) support using GLFW + OpenGL3 backend
- vcpkg.json: add imgui (opengl3-binding, glfw-binding) and glfw3 for osx platform
- grey/CMakeLists.txt: find OpenGL and GLFW3 on macOS (change UNIX AND NOT APPLE to UNIX)
- demo/desktop/CMakeLists.txt: make WIN32 flag, main.rc and dpi-aware.manifest Windows-only
- demo/pure/CMakeLists.txt: enable pure GLFW demo to build on macOS
- CMakePresets.json: add macos-debug preset
- .github/workflows/build.yml: add macOS arm64 to build-native and build-demo-apps matrices with screencapture screenshot support
- dotnet/Grey/Grey.csproj: include libxgrey.dylib for osx-arm64 in NuGet package
- docs/README.md: update platform support and add macOS build instructions
Agent-Logs-Url: https://github.com/aloneguid/grey/sessions/adfb7d00-a048-46cf-a0f3-0acead8788b0
Co-authored-by: aloneguid <3155189+aloneguid@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/README.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,15 @@ It's based on the awesome [ImGui](https://github.com/ocornut/imgui) framework an
10
10
11
11
## Features
12
12
13
-
- Cross-platform - currently supports **Windows x64** and **Linux x64**.
13
+
- Cross-platform - currently supports **Windows x64**, **Linux x64**, and **macOS arm64**.
14
14
- Completely stateless i.e., no widgets, state synchronization and so on.
15
15
- Looks beautiful by default i.e., renders in high DPI, using system fonts and colours, supports themes and material icons.
16
16
17
17
## Getting started
18
18
19
19
To get started in C++, simply include this repository as a git submodule and follow the examples. For a real-life, production sample, check out [bt](https://github.com/aloneguid/bt).
20
20
21
-
To get started in C#, reference [GreyMatter](https://www.nuget.org/packages/GreyMatter/) package, which includes C# interface and pre-built binaries for Windowsand Linux.
21
+
To get started in C#, reference [GreyMatter](https://www.nuget.org/packages/GreyMatter/) package, which includes C# interface and pre-built binaries for Windows, Linux, and macOS.
22
22
23
23
# Roadmap
24
24
- Markdown component support.
@@ -40,4 +40,21 @@ To build native part on Linux or WSL2, you need:
40
40
41
41
### MacOSX
42
42
43
-
I currently do not pay Apple tax, but instructions should be similar to Linux. If you want to help with MacOSX support, please open an issue. Supporting MacOSX should resort to testing Metal rendering backend and some native OS integrations around windowing.
The library uses the **GLFW + OpenGL3** backend on macOS (the same as Linux), which is fully supported and requires no extra runtime dependencies. All required libraries are statically linked via vcpkg.
0 commit comments