This is the basic template for OpenGL and C development.
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!
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.
By default, this template is under the MIT LICENCE. You can change it to whatever you want!