Skip to content

davidAmiron/SimpleGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleGL

A simple graphics library based on OpenGL.

Dependencies

This project depends on GLEW and SDL2. Install the appropriate versions on your computer.

TODO: Add more installation instructions for GLEW and SDL2

Installation

Clone the repository

git clone git@github.com:davidAmiron/SimpleGL.git

Make the build space

cd simplegl
mkdir build
cd build

Build

cmake ..
make install

Usage

In 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"

About

A simple graphics library based on OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors