mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-15 19:17:20 -07:00
git subrepo clone (merge) https://github.com/HarbourMasters/otrgui.git OTRGui
subrepo: subdir: "OTRGui" merged: "a6066a251" upstream: origin: "https://github.com/HarbourMasters/otrgui.git" branch: "master" commit: "a6066a251" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
This commit is contained in:
parent
442a88f03b
commit
f52a2a6406
1018 changed files with 511803 additions and 0 deletions
42
OTRGui/libs/raylib/projects/Geany/raylib_compile_sources.bat
Normal file
42
OTRGui/libs/raylib/projects/Geany/raylib_compile_sources.bat
Normal file
|
@ -0,0 +1,42 @@
|
|||
::@echo off
|
||||
:: > Choose compile options
|
||||
:: -------------------------------
|
||||
:: Set desired OpenGL API version: 1.1, 2.1, 3.3
|
||||
set GRAPHICS_API=GRAPHICS_API_OPENGL_33
|
||||
:: .
|
||||
:: > Setup required Environment
|
||||
:: -------------------------------------
|
||||
set RAYLIB_DIR=C:\raylib
|
||||
set COMPILER_DIR=C:\raylib\mingw\bin
|
||||
set PATH=%PATH%;%COMPILER_DIR%
|
||||
cd %RAYLIB_DIR%\raylib\src
|
||||
:: .
|
||||
:: > Cleaning latest build
|
||||
:: ---------------------------
|
||||
cmd /c del /F *.o
|
||||
cmd /c del /F libraylib.a
|
||||
:: .
|
||||
:: > Compile raylib modules
|
||||
:: ------------------------------
|
||||
gcc -O2 -c rglfw.c -Wall -I. -Iexternal/glfw/include
|
||||
gcc -O2 -c rcore.c -std=c99 -Wall -Iexternal/glfw/include -DPLATFORM_DESKTOP -D%GRAPHICS_API%
|
||||
gcc -O2 -c rshapes.c -std=c99 -Wall -DPLATFORM_DESKTOP
|
||||
gcc -O2 -c rtextures.c -std=c99 -Wall -DPLATFORM_DESKTOP
|
||||
gcc -O2 -c rtext.c -std=c99 -Wall -DPLATFORM_DESKTOP
|
||||
gcc -O2 -c rmodels.c -std=c99 -Wall -DPLATFORM_DESKTOP
|
||||
gcc -O2 -c raudio.c -std=c99 -Wall -DPLATFORM_DESKTOP
|
||||
gcc -O2 -c utils.c -std=c99 -Wall -DPLATFORM_DESKTOP
|
||||
|
||||
:: .
|
||||
:: . > Generate raylib library
|
||||
:: ------------------------------
|
||||
ar rcs libraylib.a rcore.o rglfw.o rshapes.o rtextures.o rtext.o rmodels.o raudio.o utils.o
|
||||
:: .
|
||||
:: > Installing raylib library
|
||||
:: -----------------------------
|
||||
cmd /c copy raylib.h %RAYLIB_DIR%\mingw\i686-w64-mingw32\include /Y
|
||||
cmd /c copy libraylib.a %RAYLIB_DIR%\mingw\i686-w64-mingw32\lib /Y
|
||||
:: .
|
||||
:: > Restore environment
|
||||
:: -----------------------------
|
||||
cd %~dp0
|
Loading…
Add table
Add a link
Reference in a new issue