Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

smol_xml #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ visualstudio/
.vscode/
.vs/
build/
out/
*.pdb
*.obj
*.ilk
Expand Down
19 changes: 19 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
setlocal

rem Check if an argument is provided
if "%~1"=="" (
echo Usage: %~nx0 filename
exit /b
)

set "inputFile=%~1"
set "outputFile=%~n1.exe"

if not exist .\out (
mkdir out
)

cl.exe /Zi /EHsc /nologo /Fo:.\out\ %inputFile% /link /OUT:.\out\%outputFile%

endlocal
Loading