building in the bin dir now
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user