Browse Source

Correct the set paths in bat files in examples/ (#2870)

Co-authored-by: Masoud Naservand <masoud.naservand@gmail.com>
pull/2875/head
Masoud Naservand 1 year ago
committed by GitHub
parent
commit
e64606a82f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions
  1. +4
    -4
      examples/raylib_compile_execute.bat
  2. +5
    -5
      examples/raylib_makefile_example.bat

+ 4
- 4
examples/raylib_compile_execute.bat View File

@ -4,10 +4,10 @@
:: . :: .
:: > Setup required Environment :: > Setup required Environment
:: ------------------------------------- :: -------------------------------------
set RAYLIB_INCLUDE_DIR=C:\raylib\src
set RAYLIB_LIB_DIR=C:\raylib\src
set RAYLIB_RES_FILE=C:\raylib\src\raylib.rc.data
set COMPILER_DIR=C:\raylib\mingw\bin
set RAYLIB_INCLUDE_DIR=C:\raylib\raylib\src
set RAYLIB_LIB_DIR=C:\raylib\raylib\src
set RAYLIB_RES_FILE=C:\raylib\raylib\src\raylib.rc.data
set COMPILER_DIR=C:\raylib\w64devkit\bin
set PATH=%PATH%;%COMPILER_DIR% set PATH=%PATH%;%COMPILER_DIR%
:: Get full filename path for input file %1 :: Get full filename path for input file %1
set FILENAME=%~f1 set FILENAME=%~f1

+ 5
- 5
examples/raylib_makefile_example.bat View File

@ -4,10 +4,10 @@
:: . :: .
:: > Setup required Environment :: > Setup required Environment
:: ------------------------------------- :: -------------------------------------
set RAYLIB_INCLUDE_DIR=C:\raylib\src
set RAYLIB_LIB_DIR=C:\raylib\src
set RAYLIB_RES_FILE=C:\raylib\src\raylib.rc.data
set COMPILER_DIR=C:\raylib\mingw\bin
set RAYLIB_INCLUDE_DIR=C:\raylib\raylib\src
set RAYLIB_LIB_DIR=C:\raylib\raylib\src
set RAYLIB_RES_FILE=C:\raylib\raylib\src\raylib.rc.data
set COMPILER_DIR=C:\raylib\w64devkit\bin
set PATH=%PATH%;%COMPILER_DIR% set PATH=%PATH%;%COMPILER_DIR%
set FILENAME=%1 set FILENAME=%1
set FILENAME_FULL_PATH=%~f1 set FILENAME_FULL_PATH=%~f1
@ -24,4 +24,4 @@ mingw32-make %FILENAME% -B PLATFORM=PLATFORM_DESKTOP
:: . :: .
:: > Executing program :: > Executing program
:: ------------------------- :: -------------------------
cmd /c if exist %FILENAME_FULL_PATH%.exe %FILENAME_FULL_PATH%.exe
cmd /c if exist %FILENAME_FULL_PATH%.exe %FILENAME_FULL_PATH%.exe

Loading…
Cancel
Save