OpenGL and GLFW Test
- OpenGL v3.3+
- CMake v3.2+
- GLFW v3.3+
- STB Image Header v2.20+
- GLAD v1.0.4+
- Set the environment variable
GLAD_PATH
to the path to the location of theglad.c
orglad.o
file.
$ export GLAD_PATH=/path/to/glad.c
- Create the
bin
directory.
$ mkdir bin
$ cmake --build bin --target clean -j4
$ cmake --build bin --target graphicsTest1 -j4
$ ./bin/graphicsTest1