mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
Proper embedding of qb64.ico into the Windows binary.
Changes made to the setup batch file used internally.
This commit is contained in:
parent
01a697689b
commit
b9ff7ce9b7
3 changed files with 5 additions and 1 deletions
|
@ -41,8 +41,11 @@ cd ../../../../../..
|
||||||
|
|
||||||
echo Building 'QB64'
|
echo Building 'QB64'
|
||||||
copy internal\source\*.* internal\temp\ >nul
|
copy internal\source\*.* internal\temp\ >nul
|
||||||
|
copy source\qb64.ico internal\temp\ >nul
|
||||||
|
copy source\icon.rc internal\temp\ >nul
|
||||||
cd internal\c
|
cd internal\c
|
||||||
c_compiler\bin\g++ -mconsole -s -Wfatal-errors -w -Wall qbx.cpp libqb\os\win\libqb_setup.o parts\user_mods\os\win\src.a -D DEPENDENCY_USER_MODS -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"
|
c_compiler\bin\windres.exe -i ..\temp\icon.rc -o ..\temp\icon.o
|
||||||
|
c_compiler\bin\g++ -mconsole -s -Wfatal-errors -w -Wall qbx.cpp libqb\os\win\libqb_setup.o ..\temp\icon.o parts\user_mods\os\win\src.a -D DEPENDENCY_USER_MODS -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 ..\..
|
cd ..\..
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
|
|
1
source/icon.rc
Normal file
1
source/icon.rc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0 ICON "qb64.ico"
|
BIN
source/qb64.ico
Normal file
BIN
source/qb64.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
Loading…
Reference in a new issue