building in the bin dir now

This commit is contained in:
FelixBrendel
2019-06-28 12:34:00 +02:00
parent 6da1530d0f
commit d576e7324f
17 changed files with 145 additions and 147 deletions
+3 -7
View File
@@ -3,27 +3,23 @@
pushd %~dp0
set exeName=slime.exe
set binDir=bin
mkdir build 2>nul
pushd build
pushd bin
taskkill /F /IM %exeName% > NUL 2> NUL
echo ---------- Compiling ----------
call timecmd cl ../src/main.cpp /std:c++latest /Fe%exeName% /W3 /Zi /nologo /EHsc /link /NODEFAULTLIB:libucrt libucrtd.lib
popd
if %errorlevel% == 0 (
echo.
echo Done
echo.
pushd ..\bin
call timecmd ..\build\slime.exe --run-tests
popd
call timecmd bin\slime.exe --run-tests
) else (
echo.
echo Fuckin' ell
)
popd
popd