Skip to content

itsYakub/OpenGL-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL Template

Overview

This is the basic template for OpenGL and C development.

Getting started:

0. Prerequesites:

1. Clone this repository:

$ git clone --branch=master https://github.com/itsYakub/OpenGL-Template.git
$ cd OpenGL-Template/

2. Create a build directory:

$ mkdir bin/
$ cd bin/

3. Build the project using CMake:

$ cmake ..
$ cmake --build .

...That's it!

Dependencies:

This project works thanks to these libraries:

  • glad: Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
  • SDL2: Simple Directmedia Layer.

Licence:

By default, this template is under the MIT LICENCE. You can change it to whatever you want!