mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 12:40:36 +00:00
Change setup_win.bat to use mingw installer
This commit is contained in:
parent
97240a0b46
commit
18d04afb51
|
@ -10,11 +10,13 @@ del /q /s internal\c\parts\*.a >nul 2>nul
|
|||
del /q /s internal\temp\*.* >nul 2>nul
|
||||
|
||||
if exist internal\c\c_compiler\bin\c++.exe goto skipccompsetup
|
||||
cd internal\c
|
||||
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set MINGW=mingw32 || set MINGW=mingw64
|
||||
echo Using %MINGW% as C++ Compiler
|
||||
ren %MINGW% c_compiler
|
||||
cd ../..
|
||||
cd internal\c\c_compiler
|
||||
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set MINGW=mingw32.exe || set MINGW=mingw64.exe
|
||||
echo Extracting %MINGW% as C++ Compiler
|
||||
@echo off
|
||||
%MINGW% -y
|
||||
|
||||
cd ../../..
|
||||
:skipccompsetup
|
||||
|
||||
echo Building library 'LibQB'
|
||||
|
|
Loading…
Reference in a new issue