Skip to content

Commit 3cfa3db

Browse files
committed
Update raylib version targeting for 6
1 parent 4e3a5ea commit 3cfa3db

7 files changed

Lines changed: 10 additions & 14 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.11)
22
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
33
project (raylib_cpp
4-
VERSION 5.5.0
4+
VERSION 6.0.0
55
DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib"
66
HOMEPAGE_URL "https://github.com/robloach/raylib-cpp"
77
LANGUAGES C CXX

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![raylib-cpp Logo](projects/Doxygen/raylib-cpp_256x256.png)
22

3-
# raylib-cpp ![Targeting raylib 5.0](https://img.shields.io/badge/for_raylib-5.0-blue) [![Tests](https://github.com/RobLoach/raylib-cpp/workflows/Tests/badge.svg)](https://github.com/RobLoach/raylib-cpp/actions?query=workflow%3ATests+branch%3Amaster) [![License](https://img.shields.io/badge/license-zlib%2Flibpng-blue.svg)](LICENSE)
3+
# raylib-cpp ![Targeting raylib 6](https://img.shields.io/badge/for_raylib-6-blue) [![Tests](https://github.com/RobLoach/raylib-cpp/workflows/Tests/badge.svg)](https://github.com/RobLoach/raylib-cpp/actions?query=workflow%3ATests+branch%3Amaster) [![License](https://img.shields.io/badge/license-zlib%2Flibpng-blue.svg)](LICENSE)
44

55
[raylib-cpp](https://github.com/robloach/raylib-cpp) is a C++ wrapper library for [raylib](https://www.raylib.com), a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around *raylib*'s struct interfaces. *raylib-cpp* is not required to use *raylib* in C++, but the classes do bring using the raylib API more inline with C++'s language paradigm.
66

clib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raylib-cpp",
3-
"version": "5.5.0",
3+
"version": "6.0.0-alpha1",
44
"repo": "RobLoach/raylib-cpp",
55
"description": "raylib-cpp: C++ Object-Oriented Wrapper for raylib",
66
"homepage": "https://github.com/robloach/raylib-cpp",

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (NOT raylib_FOUND)
1515
FetchContent_Declare(
1616
raylib
1717
GIT_REPOSITORY https://github.com/raysan5/raylib.git
18-
GIT_TAG 5.5
18+
GIT_TAG 9ae34d2
1919
GIT_SHALLOW 1
2020
)
2121
FetchContent_GetProperties(raylib)

include/raylib.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,12 @@ extern "C" {
1818
#error "raylib-cpp requires raylib >= 5"
1919
#endif
2020

21-
#if RAYLIB_VERSION_MAJOR < 5
22-
#error "raylib-cpp requires raylib >= 5"
23-
#endif
24-
25-
#if RAYLIB_VERSION_MAJOR > 5
26-
#error "raylib-cpp requires raylib ~5.0. Use the `next` branch for the next version of raylib."
21+
#if RAYLIB_VERSION_MAJOR < 6
22+
#error "raylib-cpp requires raylib >= 6"
2723
#endif
2824

29-
#if RAYLIB_VERSION_MINOR < 1
30-
#error "raylib-cpp targets raylib 5.1 or higher."
25+
#if RAYLIB_VERSION_MAJOR > 6
26+
#error "raylib-cpp requires raylib ~6.0. Use the `next` branch for the next version of raylib."
3127
#endif
3228

3329
#ifdef __cplusplus

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raylib-cpp",
3-
"version": "5.5.0",
3+
"version": "6.0.0-alpha1",
44
"description": "raylib-cpp: C++ Object-Oriented Wrapper for raylib",
55
"main": "index.js",
66
"private": true,

projects/CMake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (NOT raylib_FOUND)
88
FetchContent_Declare(
99
raylib
1010
GIT_REPOSITORY https://github.com/raysan5/raylib.git
11-
GIT_TAG 5e6cdf3
11+
GIT_TAG 9ae34d2
1212
GIT_SHALLOW 1
1313
)
1414
FetchContent_MakeAvailable(raylib)

0 commit comments

Comments
 (0)