- CMake
- make
- C and C++ compiler
- OpenGL libraries
- Create a
builddirectory (must be named exactlybuild) - Run
cmake ..from thebuilddir - Run
makefrom thebuilddir
The linuxScripts directory contains helper scripts for the project. They
are all meant to be run from the linuxScripts directory, and will return
there after execution.
linuxBuild.sh:- Navigates to the
builddir, runsmake, then executes the program
- Navigates to the
updateShaders.sh:- Copies the
resdirectory to thebuild/bindirectory. - Navigates to the
builddir, runsmake, then executes the program - if no c/cpp code has been changed, shaders will not update when running linux build
- Copies the
After building, navigate to build/bin, and run the opengl executable.
Execution must be relative to the res directory which is copied to build/bin
during the build process.
Execution has only been tested on Linux, but is theoretically supported on Windows and MacOS.
Execution through WSL on windows has also been tested.