mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-15 00:06:17 +01:00
15 lines
546 B
Batchfile
15 lines
546 B
Batchfile
@echo off
|
|
|
|
if not defined DevEnvDir (
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
|
)
|
|
|
|
rem debug: /Zi (== -g)
|
|
|
|
cl main.cpp shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp ^
|
|
libs\glad\src\glad.c /Febin/game-vc.exe ^
|
|
/EHsc ^
|
|
/Ilibs\SDL2-VC\include ^
|
|
/Ilibs\glad\include ^
|
|
/link /LIBPATH:libs\SDL2-VC\lib SDL2.lib SDL2main.lib opengl32.lib ^
|
|
/SUBSYSTEM:CONSOLE |