mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
15 lines
469 B
Batchfile
15 lines
469 B
Batchfile
|
set CurPath=%~dp0
|
||
|
|
||
|
:: Check MinGW environment
|
||
|
set MinGWPath=
|
||
|
call "%ToolsPath%\find-in-path.bat" MinGWPath gcc.exe
|
||
|
if "%MinGWPath%"=="" echo Please run command in the Qt Command Prompt or add the path to MinGW bin folder to PATH variable.& exit /B 1
|
||
|
|
||
|
:: Get gcc versions
|
||
|
call "%ToolsPath%\get-gcc-version.bat" GCCVersion
|
||
|
if "%GCCVersion%"=="" echo Cannot get gcc version.& exit /B 1
|
||
|
|
||
|
set BuildLibsPath=%EnvRootPath%\build-libs\gcc-%GCCVersion%
|
||
|
|
||
|
exit /B 0
|