build: Use script directory for build folder in Windows
This commit is contained in:
parent
5211a755a3
commit
8cce3380f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user