mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -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
24 lines
496 B
Batchfile
24 lines
496 B
Batchfile
:: Usage:
|
|
:: call env-qt4.bat version [reinstall|clean]
|
|
|
|
:: Initialize environment
|
|
call "%~dp0env.bat"
|
|
if errorlevel 1 goto error_env
|
|
|
|
set EnvQtBasePath=%EnvRootPath%\qt
|
|
|
|
:: Create folders
|
|
if not exist "%EnvQtBasePath%" mkdir "%EnvQtBasePath%"
|
|
|
|
call "%~dp0tools\prepare-qt.bat" %1 %2
|
|
if errorlevel 1 exit /B %ERRORLEVEL%
|
|
|
|
if "%MinGWDir%" NEQ "" set PATH=%MinGWDir%\bin;%PATH%
|
|
if "%QtDir%" NEQ "" set PATH=%QtDir%\bin;%PATH%
|
|
|
|
exit /B 0
|
|
|
|
:error_env
|
|
echo Failed to initialize environment.
|
|
exit /B 1
|