From cdda4c4182c9ee068567529715e4a5c68a8efb58 Mon Sep 17 00:00:00 2001 From: bonmas14 Date: Sat, 20 Sep 2025 22:28:15 +0300 Subject: Init commit v1.0 --- .../projects/Geany/raylib_compile_execute.bat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 deps/raylib/projects/Geany/raylib_compile_execute.bat (limited to 'deps/raylib/projects/Geany/raylib_compile_execute.bat') diff --git a/deps/raylib/projects/Geany/raylib_compile_execute.bat b/deps/raylib/projects/Geany/raylib_compile_execute.bat new file mode 100644 index 0000000..b99740c --- /dev/null +++ b/deps/raylib/projects/Geany/raylib_compile_execute.bat @@ -0,0 +1,21 @@ +::@echo off +:: > Setup required Environment +:: ------------------------------------- +set RAYLIB_DIR=C:\raylib +set COMPILER_DIR=C:\raylib\mingw\bin +set PATH=%PATH%;%COMPILER_DIR% +set FILE_NAME=%1 +set NAME_PART=%FILE_NAME:~0,-2% +cd %~dp0 +:: . +:: > Cleaning latest build +:: --------------------------- +cmd /c if exist %NAME_PART%.exe del /F %NAME_PART%.exe +:: . +:: > Compiling program +:: -------------------------- +gcc -o %NAME_PART%.exe %FILE_NAME% %RAYLIB_DIR%\src\raylib.rc.data -s -O2 -I../../src -Iexternal -lraylib -lopengl32 -lgdi32 -lwinmm -std=c99 -Wall -mwindows +:: . +:: . > Executing program +:: ------------------------- +cmd /c if exist %NAME_PART%.exe %NAME_PART%.exe \ No newline at end of file -- cgit v1.2.3-70-g09d2