opengl_premake_boilerplate
opengl_premake_boilerplate copied to clipboard
Simple OpenGL boilerplate code
OpenGL Premake5 Boilerplate
This project a starting point for any application using GLFW, GLAD and GLM. It uses Premake5 to generate the build files. It provides the 'engine.h' header file which imports the libraries and there is a basic GLFW example in 'main.cpp'.
Getting Started
Since this project builds all libraries from source and includes these as submodules, don't forget to clone the project recursively.
Prerequisites
You will need premake5 to build this project. Download it HERE.
Building
Building the project is very easy. Use premake to generate the project files for your platform. Then use the correct build system to build the project.
Linux
premake5 gmake
make -j$(nproc)
Windows
premake5 vs2019
Built With
License
This project is licensed under the MIT License.