A collection of examples from learn OpenGL
Conan
CMake
C Compiler of your choice:
Apple ships a binary package of Git with Xcode
Install homebrew if you don't already have it, then:
brew install git
pip install conan
brew install conan
Once Conan is installed create a profile:
conan profile detect
brew install cmake
On a fresh pull from GitHub run the following in the root directory:
conan install . --build=missing
Use Cmake to build the files with:
cmake --preset conan-release
Followed by
cmake --build --preset conan-release
Now you can run the build:
%% Inside the Build Directory %%
./hello_triangle