mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-15 00:06:17 +01:00
15 lines
318 B
Batchfile
15 lines
318 B
Batchfile
|
@echo off
|
||
|
|
||
|
if not defined DevEnvDir (
|
||
|
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||
|
)
|
||
|
|
||
|
rem debug: /Zi (== -g)
|
||
|
|
||
|
cl /EHsc /Zi /c sfwl.cpp /Fo:sfwl.obj
|
||
|
cl /EHsc /Zi /c main.cpp /Fo:main.obj
|
||
|
|
||
|
cl /Zi /EHsc /Fegame-vc.exe ^
|
||
|
sfwl.obj main.obj ^
|
||
|
/SUBSYSTEM:CONSOLE
|