20 lines
574 B
Batchfile
20 lines
574 B
Batchfile
@echo off
|
|
|
|
mkdir build
|
|
|
|
FOR /F "tokens=*" %%g IN ('odin root') do (SET ODIN_ROOT=%%g)
|
|
|
|
echo %ODIN_ROOT%
|
|
|
|
@REM If it fails to find your odin root folder, copy the raylib.dll manually into the build folder, it's a runtime requirement
|
|
copy %ODIN_ROOT%\vendor\raylib\windows\raylib.dll build\raylib.dll
|
|
|
|
pushd vendors\dialog
|
|
call .\build.bat
|
|
popd
|
|
|
|
pushd vendors
|
|
curl.exe --output clay.zip --url https://github.com/nicbarker/clay/releases/download/v0.14/clay-odin.zip
|
|
@REM Apparently available on Win10 since build 17063 - https://superuser.com/a/1473255
|
|
tar -xf .\clay.zip
|
|
popd
|