Torque3D/Engine/lib/lpng/projects/vstudio/build.bat
marauder2k7 5d644b4ffb update libpng
update libpng, the repo now requires a vcpkg setup for integrating but skipping the install step should allow it to work for windows an linux, mac might need more
2025-12-31 20:11:14 +00:00

25 lines
559 B
Batchfile

@echo off
@setlocal enableextensions
if "%~1" == "/?" goto :help
if "%~1" == "-?" goto :help
if "%~1" == "/help" goto :help
if "%~1" == "-help" goto :help
if "%~1" == "--help" goto :help
goto :run
:help
echo Usage:
echo %~nx0 [SOLUTION_CONFIG]
echo Examples:
echo %~nx0 "Release|Win32" (default)
echo %~nx0 "Debug|Win32"
echo %~nx0 "Release|ARM64"
echo %~nx0 "Debug|ARM64"
echo etc.
exit /b 2
:run
set _SOLUTION_CONFIG="%~1"
if %_SOLUTION_CONFIG% == "" set _SOLUTION_CONFIG="Release|Win32"
devenv "%~dp0.\vstudio.sln" /build %_SOLUTION_CONFIG%