diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-02-22 20:46:13 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-02-22 20:46:13 +0100 |
| commit | acb232ac94f46d6c1b81378ab0be0c5b2f91a446 (patch) | |
| tree | 50519c8b5f4847e73da0712c3ae801c2a184c434 /build.bat | |
| parent | a75c3424a6003f1ccbfbf6f170009ebf7bf18e4e (diff) | |
Automatically add shared collection.
Diffstat (limited to 'build.bat')
| -rw-r--r-- | build.bat | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,19 +4,19 @@ setlocal enabledelayedexpansion if "%1" == "CI" (
set "PATH=%cd%\Odin;!PATH!"
- rem odin test tests -collection:shared=src
+ rem odin test tests -collection:src=src
rem if %errorlevel% neq 0 exit 1
- odin build src\ -collection:shared=src -out:ols.exe -o:speed
+ odin build src\ -collection:src=src -out:ols.exe -o:speed
call "tools/odinfmt/tests.bat"
if %errorlevel% neq 0 exit 1
) else if "%1" == "test" (
- odin test tests -collection:shared=src -debug
+ odin test tests -collection:src=src -debug
) else if "%1" == "single_test" (
- odin test tests -collection:shared=src -test-name:%2
+ odin test tests -collection:src=src -test-name:%2
) else if "%1" == "debug" (
- odin build src\ -show-timings -collection:shared=src -microarch:native -out:ols.exe -o:minimal -no-bounds-check -use-separate-modules -debug
+ odin build src\ -show-timings -collection:src=src -microarch:native -out:ols.exe -o:minimal -no-bounds-check -use-separate-modules -debug
) else (
- odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols.exe -o:speed -no-bounds-check
+ odin build src\ -show-timings -microarch:native -collection:src=src -out:ols.exe -o:speed -no-bounds-check
)
|