Skip to content

💀 A skeleton OpenGL C++ app bootstrapped with glfw, glad, and glm.

License

Notifications You must be signed in to change notification settings

andystanton/glfw-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glfw-skeleton Build

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