diff --git a/build.bat b/build.bat index d4d0588..27e45e8 100644 --- a/build.bat +++ b/build.bat @@ -2,7 +2,7 @@ set script_dir_backslash=%~dp0 set script_dir=%script_dir_backslash:~0,-1% -if not exist Build mkdir Build -pushd Build -cl %script_dir%\asan_example.cpp -Zi -O2 -fsanitize=address -nologo -link || exit /b 1 +if not exist %script_dir%\Build mkdir %script_dir%\Build +pushd %script_dir%\Build +cl %script_dir%\asan_example.cpp -Zi -fsanitize=address -nologo -link || exit /b 1 popd