瀏覽代碼

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 年之前
committed by GitHub
父節點
當前提交
e64606a82f
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 2 個文件被更改,包括 9 次插入9 次删除
  1. +4
    -4
      examples/raylib_compile_execute.bat
  2. +5
    -5
      examples/raylib_makefile_example.bat

+ 4
- 4
examples/raylib_compile_execute.bat 查看文件

@ -4,10 +4,10 @@
:: .
:: > 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%
:: Get full filename path for input file %1
set FILENAME=%~f1

+ 5
- 5
examples/raylib_makefile_example.bat 查看文件

@ -4,10 +4,10 @@
:: .
:: > 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 FILENAME=%1
set FILENAME_FULL_PATH=%~f1
@ -24,4 +24,4 @@ mingw32-make %FILENAME% -B PLATFORM=PLATFORM_DESKTOP
:: .
:: > 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…
取消
儲存