Dependencies
- cmake
- c++ 20
- uses glfw and glad, downladed on configure
- an example program uses ffmpeg. cmake gets information for ffmpeg with pkg-config and will not be build without it
- uses google test for testing
configure
settings - default -DNOTEST=OFF - build tests -DNOEXAMPLE=OFF - build example programs -DNOPRINT=OFF - console drawing prints nothing to screen when on (for debugging)
linux: cmake --preset gcc -DGLFW_BUILD_WAYLAND=0 or cmake --preset gcc -DGLFW_BUILD_X11=0 depending on X11 or wayland
Windows MSYS2: cmake --preset gcc
Windows Visual Studio: cmake --preset msvc
small issue with msvc, could not build ffmpeg in a reasonable time, so dowloading libaries programatically
MacOS -- i don't know i haven't tried it
build
cmake --build --preset [preset]