2018-10-13 07:19:22 -04:00
|
|
|
call "%~dp0env-base.bat" %*
|
|
|
|
if errorlevel 2 exit /B 2
|
|
|
|
if errorlevel 1 goto error_env
|
|
|
|
|
|
|
|
set BuildPath=%EnvRootPath%\builds
|
|
|
|
set DeployPath=%EnvRootPath%\deploy
|
|
|
|
|
|
|
|
if not exist "%BuildPath%" mkdir "%BuildPath%"
|
|
|
|
if not exist "%DeployPath%" mkdir "%DeployPath%"
|
|
|
|
|
|
|
|
:: Get Qt version
|
|
|
|
call "%ToolsPath%\get-qt-version.bat" QtVersion
|
|
|
|
if "%QtVersion%"=="" %cecho% error "Cannot get Qt version." & exit /B 1
|
|
|
|
|
2022-01-24 16:28:01 -05:00
|
|
|
set RsMinGWPath=%EnvMSYS2BasePath%\%RsToolchain%
|
2018-10-13 07:19:22 -04:00
|
|
|
|
2022-01-24 16:28:01 -05:00
|
|
|
set RsBuildPath=%BuildPath%\Qt-%QtVersion%-%RsToolchain%-%RsCompiler%-%RsBuildConfig%
|
|
|
|
set RsDeployPath=%DeployPath%\Qt-%QtVersion%%RsType%-%RsToolchain%-%RsCompiler%-%RsBuildConfig%
|
2018-10-13 07:19:22 -04:00
|
|
|
set RsPackPath=%DeployPath%
|
|
|
|
set RsArchiveAdd=
|
2023-03-18 11:56:16 -04:00
|
|
|
set RsWebuiBuildPath=%RsBuildPath%\retroshare-webui\webui
|
2018-10-13 07:19:22 -04:00
|
|
|
|
|
|
|
if not exist "%~dp0env-mod.bat" goto no_mod
|
|
|
|
call "%~dp0env-mod.bat"
|
|
|
|
if errorlevel 1 exit /B %ERRORLEVEL%
|
|
|
|
:no_mod
|
|
|
|
|
|
|
|
exit /B 0
|