/glinit

Base OpenGL project with glad, glfw, glm and imgui

Primary LanguageC

OpenGL Project

Yet another OpenGL build project.

How to use

Necessary software

  • Git
  • Make
  • Cmake

Be sure that these programs are added to your path, so you can use them from your command prompt.

  • Visual Studio

Windows

Environment Setup

You must enable the x64 Visual C++ Toolset. I recommend to use this environment for everything you do. You have different options:

Go to main project folder and run:

> make
> bin/opengl_project.exe

Visual Studio (2017)

> make vsproject15

This will create a build-vs-15 folder with the VS 15 (2017) project. The makefile can be easly modified to support older versions of VS.

Sublime Text

Serch for the vcvars64.bat in your computer and edit the "shell_cmd":. Then you can ctrl+shift+B and select the build type.

Linux

Not tested