This repository is following the game engine series by TheCherno.
It is being developed on macOS using VS Code with a CMake build system, instead of Windows using Visual Studio with Premake.
Changes for macOS and CMake:
glfwWindowHint()
calls to get macOS to load OpenGL 4.1.- Limited to OpenGL 4.1 because that is all macOS supports.
- Correct scaling for retina displays with ImGui.
- ImGui git submodule uses a fork with CMake support.
Please support TheCherno on Patreon.
brew install glfw
git clone --recursive https://github.com/jviney/hazel
cd hazel/build
cmake ..
make -j2
./sandbox
mkdir build-xcode
cd build-xcode
cmake -G Xcode ..
open hazel.xcodeproj