Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 19835b2c65fad7772cc631fdaa25270d40ee22f9
parent d7f359066234c8954d9cd376bc2192a2520497aa
Author: Michael Savage <>
Date:   Thu Sep 15 01:26:14 +0100

Initial build.bat - can build mod_btt!

build.bat | 33+++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+), 0 deletions(-)
diff --git a/build.bat b/build.bat @@ -0,0 +1,33 @@ +set INCLUDE=C:\Program Files\Microsoft Visual Studio 12.0\VC\include;C:\Program Files\Windows Kits\8.1\Include\shared;C:\Program Files\Windows Kits\8.1\Include\um +set LIB=C:\Program Files\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files\Windows Kits\8.1\lib\winv6.3\um\x86 +set PATH=C:\Program Files\Microsoft Visual Studio 12.0\VC\bin;%PATH% +set FLAGS=-I include -Z7 -Zo -W4 -Oi -Gm- -GR- -EHa- -nologo -MTd -O1 -wd4100 -wd4201 -wd4189 -wd4505 -wd4127 -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -D_USE_MATH_DEFINES +REM -DGLAD_GLAPI_EXPORT +set EXELIBS=glfw3dll.lib user32.lib shell32.lib opengl32.lib gdi32.lib +set EXEFLAGS=%EXELIBS% %FLAGS% + +REM cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +REM -DGLAD_GLAPI_EXPORT -DGLAD_GLAPI_EXPORT_BUILD +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -c %FLAGS% +cl -Tpstb_image.h -c %FLAGS% -DSTB_IMAGE_IMPLEMENTATION +cl -Tpstb_truetype.h -c %FLAGS% -DSTB_TRUETYPE_IMPLEMENTATION + +REM -DGLAD_GLAPI_EXPORT +cl -LD %FLAGS% mod_btt.obj btt.obj gpubtt.obj glsl.obj memory_arena.obj glad.obj heightmap.obj skybox.obj log.obj immediate.obj stb_image.obj -Femod_btt.dll -link -EXPORT:game_init -EXPORT:game_frame + +cl gl.obj glad.obj log.obj memory_arena.obj %EXEFLAGS% -Femedfall.exe +cl stb_image.obj lz4.obj lz4hc.obj %EXEFLAGS% + +pause