skgl is the OpenGL boilerplate for avoid of writing routine code and focus on solving tasks related to the 3d-graphics in c++ fashion. The main conception behind skgl is that sharing is caring. So it uses shared objects whenever and wherever it's possible and impossible. So when you use shaders, textures, buffers and others skgl's objects - you can relax and do not think about manual memory management.
This project uses git submodules so to download you should use:
git clone --recurse-submodules https://github.com/serkosal/skgl.git
If you've just already downloaded it without --recurse-submodules, you should go inside downloaded skgl folder and then execute:
git submodule init
git submodule update
- Open skgl folder in Visual Studio.
- Wait before visual studio completely generate cmake configuration for your platform. By default it's will be writed in the console panel below.
- In the Solution Explorer find and right click on the CMakeLists.txt.
- Select build.
- Wait untill build process ends.
- Your executable by default will be located in skgl/out/build/YOURS_BUILD_CONFIGURATION/skgl.exe
Open skgl folder in the terminal and execute the following commands:
mkdir build
cd build
cmake -S .. -B .
make
And finally you can launch it using the following command:
./skgl