glfw-skeleton
glfw-skeleton copied to clipboard
:skull: A skeleton OpenGL C++ app bootstrapped with glfw, glad, and glm.
glfw-skeleton 
A skeleton C++20 OpenGL 4.1 app that uses glfw, glad, and glm libraries and builds with CMake to enable rapid cross-platform hacking with OpenGL.
All libraries are retrieved and built using CMake's FetchContent capability to ensure portability.

Requirements
- C++20
- OpenGL 4.1
- CMake 3.16
- Make (macOS/Linux)
- Visual Studio 2019 (Windows)
Quick Start
macOS and Linux
git clone https://github.com/andystanton/glfw-skeleton.git
cd glfw-skeleton
make run
Windows
- Clone the repository.
- Open the folder in Visual Studio and switch to CMake Targets View as described in CMake projects in Visual Studio.
- Right click on the
glfw-skeleton
target and choose Debug.
Compatibility
Tested on macOS 11.6, Windows 10, & Ubuntu 20.04.
macOS | Windows | Linux |
---|---|---|
![]() |
![]() |
![]() |