mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
4f6356d7dd
Added variable for clang
31 lines
904 B
Batchfile
31 lines
904 B
Batchfile
call "%~dp0env-base.bat" %*
|
|
if errorlevel 2 exit /B 2
|
|
if errorlevel 1 goto error_env
|
|
|
|
set MSYSTEM=MINGW%RsBit%
|
|
|
|
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
|
|
|
|
set RsMinGWPath=%EnvMSYS2BasePath%\mingw%RsBit%
|
|
|
|
set RsBuildPath=%BuildPath%\Qt-%QtVersion%-%RsArchitecture%-%RsCompiler%-%RsBuildConfig%
|
|
set RsDeployPath=%DeployPath%\Qt-%QtVersion%%RsType%-%RsArchitecture%-%RsCompiler%-%RsBuildConfig%
|
|
set RsPackPath=%DeployPath%
|
|
set RsArchiveAdd=
|
|
set RsWebuiPath=%RootPath%\%SourceName%-webui
|
|
|
|
if not exist "%~dp0env-mod.bat" goto no_mod
|
|
call "%~dp0env-mod.bat"
|
|
if errorlevel 1 exit /B %ERRORLEVEL%
|
|
:no_mod
|
|
|
|
exit /B 0
|