git clone --recursive https://github.com/blackedout01/cg-papers.git
or if already cloned without --recursive
:
git submodule update --init
git submodule update --remote --merge
Install your build tools
Open terminal and navigate to repository
Build all libraries once: sh buildlibs.sh
Now there are 3 new files: libSDL2main.a
, libSDL2.a
and glad.a
Build project: sh build.sh
Run project: ./a.out
Install Visual Studio Build Tools https://visualstudio.microsoft.com/de/downloads/?q=build+tools (at the bottom of the page)
Open "x64 Native Tools Command Prompt for VS 2022" and navigate to repository
Build all libraries once: buildlibs.bat
Now there are 4 new files: SDL2main.lib
, SDL2.lib
, glad.lib
and SDL2.dll
(I don't understand how to build static SDL)
Build project: build.bat
(not sure about that warning either)
Run project: main.exe
Open terminal and navigate to repository
Build all libraries once: sh buildlibs.sh
Now there are 3 new files: libSDL2main.a
, libSDL2.a
and glad.a
Build project: sh build.sh
Run project: ./a.out