blob: 58b44cb03bc5d660c20a50e9a65690fcf223d5c6 [file] [log] [blame] [edit]
@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
)
set "PREMAKE=%DEPENDENCIES%\bin\premake5.exe"
%PREMAKE% --scripts=..\..\build --no-download-progress --with_rive_tools --with_rive_text --with_rive_audio=external 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%" out\debug\rive.sln
out\debug\unit_tests.exe