blob: a238f75156cfd97c6c286b8b70f9ca46567335f9 [file] [log] [blame]
@echo off
call ..\dependencies\windows\config_directories.bat
if not exist "%DEPENDENCIES%\bin\premake5.exe" (
pushd "%DEPENDENCIES_SCRIPTS%"
call .\get_premake5.bat || goto :error
popd
)
if not exist "%DEPENDENCIES%\harfbuzz\" (
pushd "%DEPENDENCIES_SCRIPTS%"
call .\get_harfbuzz.bat || goto :error
popd
)
set "PREMAKE=%DEPENDENCIES%\bin\premake5.exe"
pushd test
%PREMAKE% vs2022
MSBuild.exe /? 2> NUL
if not %ERRORLEVEL%==9009 (
set "MSBuild=MSBuild.exe"
) else (
set "MSBuild=%ProgramFiles%\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe"
)
call "%MSBuild%" rive.sln
build\bin\debug\tests.exe