aboutsummaryrefslogtreecommitdiff
path: root/build.bat
blob: 7267247ac46e5b371969ad25ab4451def6c50071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@echo off


if "%1" == "CI" (
    "Odin/odin.exe" test tests -collection:shared=src -debug
    if %errorlevel% neq 0 exit 1
    "Odin/odin.exe" build src\ -show-timings -collection:shared=src -out:ols.exe -o:speed  -thread-count:1
) else if "%1" == "test" (
    odin test tests -collection:shared=src -debug
) else if "%1" == "single_test" (
    odin test tests -collection:shared=src -test-name:%2
) else if "%1" == "debug" (
    odin build src\ -show-timings  -collection:shared=src -out:ols.exe -o:speed  -no-bounds-check -debug
) else (
    odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols.exe -o:speed  -no-bounds-check
)