A simple graphics library based on OpenGL.
This project depends on GLEW and SDL2. Install the appropriate versions on your computer.
TODO: Add more installation instructions for GLEW and SDL2
Clone the repository
git clone git@github.com:davidAmiron/SimpleGL.gitMake the build space
cd simplegl
mkdir build
cd buildBuild
cmake ..
make installIn your CMakeLists.txt put the following lines:
find_package(SimpleGL REQUIRED)
target_link_libraries([your_target] simplegl)replace [your_target] with the name of your target.
Now in your code, use the following:
#include "simplegl.h"