mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 01:50:25 +00:00
check for environment variable before attempting to use it
This commit is contained in:
parent
3deffd7034
commit
1368676c3a
|
@ -1,7 +1,7 @@
|
|||
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
|
||||
|
||||
echo Compiling new QB64
|
||||
echo From git %APPVEYOR_REPO_COMMIT:~0,7% > internal\version.txt
|
||||
if defined APPVEYOR_REPO_COMMIT (echo From git %APPVEYOR_REPO_COMMIT:~0,7% > internal\version.txt)
|
||||
qb64_bootstrap.exe -z source\qb64.bas
|
||||
cd internal\c
|
||||
c_compiler\bin\g++ -mconsole -s -Wfatal-errors -w -Wall qbx.cpp libqb\os\win\libqb_setup.o ..\temp\icon.o -D DEPENDENCY_LOADFONT parts\video\font\ttf\os\win\src.o -D DEPENDENCY_SOCKETS -D DEPENDENCY_NO_PRINTER -D DEPENDENCY_ICON -D DEPENDENCY_NO_SCREENIMAGE parts\core\os\win\src.a -lopengl32 -lglu32 -mwindows -static-libgcc -static-libstdc++ -D GLEW_STATIC -D FREEGLUT_STATIC -lws2_32 -lwinmm -lgdi32 -o "..\..\qb64.exe"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@ECHO OFF
|
||||
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
|
||||
|
||||
echo From git %GITHUB_SHA:~0,7% > internal\version.txt
|
||||
if defined GITHUB_SHA (echo From git %GITHUB_SHA:~0,7% > internal\version.txt)
|
||||
qb64_bootstrap.exe -z source\qb64.bas
|
||||
cd internal\c
|
||||
c_compiler\bin\g++ -mconsole -s -Wfatal-errors -w -Wall qbx.cpp libqb\os\win\libqb_setup.o ..\temp\icon.o -D DEPENDENCY_LOADFONT parts\video\font\ttf\os\win\src.o -D DEPENDENCY_SOCKETS -D DEPENDENCY_NO_PRINTER -D DEPENDENCY_ICON -D DEPENDENCY_NO_SCREENIMAGE parts\core\os\win\src.a -lopengl32 -lglu32 -mwindows -static-libgcc -static-libstdc++ -D GLEW_STATIC -D FREEGLUT_STATIC -lws2_32 -lwinmm -lgdi32 -o "..\..\qb64.exe"
|
||||
|
|
Loading…
Reference in a new issue