This project is a minimal C++ 23 example for using Metal 4 with GLFW in a CMake project.
Dependencies are expected to be found under the external directory.
-
The fetchMetalCpp script downloads, extracts metal-cpp version from thhe Apple Developer website, and runs the metal-cpp python script to generate the single
<metal/metal.hpp>header file. -
GLFW is downloaded as a git submodule.