mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
eb95c6895a
- Renamed folder build_libs to build-libs - Removed old file stripSVN.sh - Fixed some batch files - Switch from curl to wget - Added Qt environment - Added build.bat to build everything
28 lines
413 B
Batchfile
28 lines
413 B
Batchfile
:: Usage:
|
|
:: call qt-cmd.bat <Qt version> [command]
|
|
|
|
@echo off
|
|
|
|
setlocal
|
|
|
|
set QtVersion=%~1
|
|
|
|
:: Initialize environment
|
|
call "%~dp0env.bat"
|
|
if errorlevel 1 goto error_env
|
|
call "%EnvPath%\env-qt.bat" %QtVersion%
|
|
if errorlevel 1 goto error_env
|
|
|
|
if "%~2"=="" (
|
|
"%ComSpec%"
|
|
) else (
|
|
"%ComSpec%" /c %2 %3 %4 %5 %6 %7 %8 %9
|
|
)
|
|
|
|
exit /B %ERRORLEVEL%
|
|
|
|
:error_env
|
|
echo Failed to initialize environment.
|
|
endlocal
|
|
exit /B 1
|