Browse Source

Review projects details for raylib 4.2

pull/2620/head
Ray 2 years ago
parent
commit
86ac792d9a
7 changed files with 10 additions and 10 deletions
  1. +1
    -1
      projects/4coder/Makefile
  2. +3
    -3
      projects/CodeBlocks/README.md
  3. +1
    -1
      projects/VSCode/Makefile
  4. +1
    -1
      projects/scripts/build-linux.sh
  5. +1
    -1
      projects/scripts/build-osx.sh
  6. +1
    -1
      projects/scripts/build-rpi.sh
  7. +2
    -2
      projects/scripts/build-windows.bat

+ 1
- 1
projects/4coder/Makefile View File

@ -25,7 +25,7 @@
# Define required raylib variables
PROJECT_NAME ?= game
RAYLIB_VERSION ?= 4.0.0
RAYLIB_VERSION ?= 4.2.0
RAYLIB_PATH ?= ..\..
# Define default options

+ 3
- 3
projects/CodeBlocks/README.md View File

@ -1,11 +1,11 @@
# Raylib template for Code::Blocks
# raylib template for Code::Blocks
1. Install Raylib.
1. Install raylib.
On Windows you should install the **Windows Installer (with MinGW compiler)** package.
On other platforms you can install however you like following the instructions in the wiki.
* https://github.com/raysan5/raylib/releases/download/4.0.0/raylib_installer_v400.mingw.exe
* https://github.com/raysan5/raylib/releases/download/4.2.0/raylib_installer_v420.mingw.exe
* https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux
* https://github.com/raysan5/raylib/wiki/Working-on-macOS

+ 1
- 1
projects/VSCode/Makefile View File

@ -25,7 +25,7 @@
# Define required raylib variables
PROJECT_NAME ?= game
RAYLIB_VERSION ?= 4.0.0
RAYLIB_VERSION ?= 4.2.0
RAYLIB_PATH ?= ..\..
# Define compiler path on Windows

+ 1
- 1
projects/scripts/build-linux.sh View File

@ -128,7 +128,7 @@ if [ ! -d "$TEMP_DIR" ]; then
else
$CC -c $RAYLIB_DEFINES $RAYLIB_INCLUDE_FLAGS $COMPILATION_FLAGS $RAYLIB_C_FILES
fi
[ -z "$QUIET" ] && echo "COMPILE-INFO: Raylib compiled into object files in: $TEMP_DIR/"
[ -z "$QUIET" ] && echo "COMPILE-INFO: raylib compiled into object files in: $TEMP_DIR/"
cd $ROOT_DIR
fi

+ 1
- 1
projects/scripts/build-osx.sh View File

@ -130,7 +130,7 @@ if [ ! -d "$TEMP_DIR" ]; then
$CC -c $RAYLIB_DEFINES $RAYLIB_INCLUDE_FLAGS $COMPILATION_FLAGS -x objective-c $RAYLIB_SRC/rglfw.c
$CC -c $RAYLIB_DEFINES $RAYLIB_INCLUDE_FLAGS $COMPILATION_FLAGS $RAYLIB_C_FILES
fi
[ -z "$QUIET" ] && echo "COMPILE-INFO: Raylib compiled into object files in: $TEMP_DIR/"
[ -z "$QUIET" ] && echo "COMPILE-INFO: raylib compiled into object files in: $TEMP_DIR/"
cd $ROOT_DIR
fi

+ 1
- 1
projects/scripts/build-rpi.sh View File

@ -128,7 +128,7 @@ if [ ! -d "$TEMP_DIR" ]; then
else
$CC -c $RAYLIB_DEFINES $RAYLIB_INCLUDE_FLAGS $COMPILATION_FLAGS $RAYLIB_C_FILES
fi
[ -z "$QUIET" ] && echo "COMPILE-INFO: Raylib compiled into object files in: $TEMP_DIR/"
[ -z "$QUIET" ] && echo "COMPILE-INFO: raylib compiled into object files in: $TEMP_DIR/"
cd $ROOT_DIR
fi

+ 2
- 2
projects/scripts/build-windows.bat View File

@ -165,7 +165,7 @@ REM Build raylib if it hasn't been cached in TEMP_DIR
IF NOT EXIST !TEMP_DIR!\ (
mkdir !TEMP_DIR!
cd !TEMP_DIR!
REM Raylib's src folder
REM raylib source folder
set "RAYLIB_DEFINES=/D_DEFAULT_SOURCE /DPLATFORM_DESKTOP /DGRAPHICS_API_OPENGL_33"
set RAYLIB_C_FILES="!RAYLIB_SRC!\rcore.c" "!RAYLIB_SRC!\rshapes.c" "!RAYLIB_SRC!\rtextures.c" "!RAYLIB_SRC!\rtext.c" "!RAYLIB_SRC!\rmodels.c" "!RAYLIB_SRC!\utils.c" "!RAYLIB_SRC!\raudio.c" "!RAYLIB_SRC!\rglfw.c"
set RAYLIB_INCLUDE_FLAGS=/I"!RAYLIB_SRC!" /I"!RAYLIB_SRC!\external\glfw\include"
@ -175,7 +175,7 @@ IF NOT EXIST !TEMP_DIR!\ (
) ELSE (
cl.exe /w /c !VERBOSITY_FLAG! !RAYLIB_DEFINES! !RAYLIB_INCLUDE_FLAGS! !COMPILATION_FLAGS! !RAYLIB_C_FILES! || exit /B
)
IF NOT DEFINED QUIET echo COMPILE-INFO: Raylib compiled into object files in: !TEMP_DIR!\
IF NOT DEFINED QUIET echo COMPILE-INFO: raylib compiled into object files in: !TEMP_DIR!\
REM Out of the temp directory
cd !ROOT_DIR!

Loading…
Cancel
Save