From 86ac792d9a950a6ce8878d53417627c857516ebd Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 6 Aug 2022 19:23:36 +0200 Subject: [PATCH] Review projects details for raylib 4.2 --- projects/4coder/Makefile | 2 +- projects/CodeBlocks/README.md | 6 +++--- projects/VSCode/Makefile | 2 +- projects/scripts/build-linux.sh | 2 +- projects/scripts/build-osx.sh | 2 +- projects/scripts/build-rpi.sh | 2 +- projects/scripts/build-windows.bat | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/projects/4coder/Makefile b/projects/4coder/Makefile index 8923e732..4178920b 100644 --- a/projects/4coder/Makefile +++ b/projects/4coder/Makefile @@ -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 diff --git a/projects/CodeBlocks/README.md b/projects/CodeBlocks/README.md index eabf83c3..49767d79 100644 --- a/projects/CodeBlocks/README.md +++ b/projects/CodeBlocks/README.md @@ -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 diff --git a/projects/VSCode/Makefile b/projects/VSCode/Makefile index 4ae525c1..9b8cbea1 100644 --- a/projects/VSCode/Makefile +++ b/projects/VSCode/Makefile @@ -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 diff --git a/projects/scripts/build-linux.sh b/projects/scripts/build-linux.sh index ccae8d7f..7368d921 100755 --- a/projects/scripts/build-linux.sh +++ b/projects/scripts/build-linux.sh @@ -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 diff --git a/projects/scripts/build-osx.sh b/projects/scripts/build-osx.sh index e2ab834b..d4f8ab21 100755 --- a/projects/scripts/build-osx.sh +++ b/projects/scripts/build-osx.sh @@ -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 diff --git a/projects/scripts/build-rpi.sh b/projects/scripts/build-rpi.sh index 646cf90c..68e4f8d2 100755 --- a/projects/scripts/build-rpi.sh +++ b/projects/scripts/build-rpi.sh @@ -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 diff --git a/projects/scripts/build-windows.bat b/projects/scripts/build-windows.bat index 1cf180bb..2c085f8d 100644 --- a/projects/scripts/build-windows.bat +++ b/projects/scripts/build-windows.bat @@ -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!