build: Compile into build folder
This commit is contained in:
parent
7d0aa69421
commit
591956471e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
Build
|
@ -1,2 +1,8 @@
|
||||
@echo off
|
||||
cl main.cpp -Z7 -fsanitize=address -nologo -link || exit /b 1
|
||||
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
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user