mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 01:10:23 +00:00
35 lines
986 B
Batchfile
35 lines
986 B
Batchfile
|
@echo off
|
||
|
echo QB64 Setup
|
||
|
echo.
|
||
|
|
||
|
echo Building library 'LibQB'
|
||
|
cd internal/c/libqb/os/win
|
||
|
if exist libqb_setup.o del libqb_setup.o
|
||
|
call setup_build.bat
|
||
|
cd ../../../../..
|
||
|
|
||
|
echo Building library 'FreeType'
|
||
|
cd internal/c/parts/video/font/ttf/os/win
|
||
|
if exist src.o del src.o
|
||
|
call setup_build.bat
|
||
|
cd ../../../../../../../..
|
||
|
|
||
|
echo Building library 'Core:FreeGLUT'
|
||
|
cd internal/c/parts/core/os/win
|
||
|
if exist src.a del src.a
|
||
|
call setup_build.bat
|
||
|
cd ../../../../../..
|
||
|
|
||
|
echo Building 'QB64'
|
||
|
copy internal\source\*.* internal\temp\ >nul
|
||
|
cd internal/c
|
||
|
c_compiler\bin\g++ -mconsole -s -Wfatal-errors -w -Wall qbx.cpp libqb\os\win\libqb_setup.o -D DEPENDENCY_LOADFONT parts\video\font\ttf\os\win\src.o -lws2_32 -lwinspool parts\core\os\win\src.a -lopengl32 -lglu32 -lwinmm -lgdi32 -Wl,--subsystem,windows -static-libgcc -static-libstdc++ -D FREEGLUT_STATIC -lksguid -lole32 -lwinmm -ldxguid -o "..\..\qb64.exe"
|
||
|
cd ../..
|
||
|
|
||
|
echo.
|
||
|
echo Launching 'QB64'
|
||
|
qb64
|
||
|
|
||
|
echo.
|
||
|
pause
|