sfw/build_scripts/compile_mingw_x86.bat

5 lines
243 B
Batchfile
Executable File

rem -g -> debug symbols
rem -o[0-3] -> optimization
rem -Wall -> all warning
g++ main.cpp ./libs/glad/src/glad.c -Wall -o3 -o ./game.exe -Ilibs/SDL2-mingw/include -Llibs/SDL2-mingw/lib/x86 -Ilibs/glad/include -lSDL2 -lSDL2main -lOpengl32