aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_win.bat
diff options
context:
space:
mode:
authorbakpakin <calsrose@gmail.com>2021-09-28 15:41:41 -0500
committerbakpakin <calsrose@gmail.com>2021-09-28 15:42:16 -0500
commit924fe97fc3b8e902021656ec2a2280b9c57821b8 (patch)
tree87c05b8f530e2d86793d2c6b35c120ffbb3f11a8 /build_win.bat
parentUpdate suite 009 to do read and write in parallel. (diff)
Address #820 - ev/cancel to work on already scheduled fibers.
Diffstat (limited to 'build_win.bat')
-rw-r--r--build_win.bat8
1 files changed, 7 insertions, 1 deletions
diff --git a/build_win.bat b/build_win.bat
index 5980cc46..aae50a6c 100644
--- a/build_win.bat
+++ b/build_win.bat
@@ -18,8 +18,14 @@
@rem Set compile and link options here
@setlocal
+
+@rem Example use asan
+@rem set JANET_COMPILE=cl /nologo /Isrc\include /Isrc\conf /c /O2 /W3 /D_CRT_SECURE_NO_WARNINGS /MD /fsanitize=address /Zi
+@rem set JANET_LINK=link /nologo clang_rt.asan_dynamic-x86_64.lib clang_rt.asan_dynamic_runtime_thunk-x86_64.lib
+
@set JANET_COMPILE=cl /nologo /Isrc\include /Isrc\conf /c /O2 /W3 /D_CRT_SECURE_NO_WARNINGS /MD
@set JANET_LINK=link /nologo
+
@set JANET_LINK_STATIC=lib /nologo
@rem Add janet build tag
@@ -81,7 +87,7 @@ exit /b 1
@echo command prompt.
exit /b 0
-@rem Clean build artifacts
+@rem Clean build artifacts
:CLEAN
del *.exe *.lib *.exp
rd /s /q build