Skip to content

Commit bf0be19

Browse files
authored
Merge branch 'master' into next
2 parents 8b346fe + e96d3ae commit bf0be19

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.gitmodules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
[submodule "projects/Doxygen/doxygen-awesome-css"]
22
path = projects/Doxygen/doxygen-awesome-css
33
url = https://github.com/jothepro/doxygen-awesome-css.git
4+
branch = main
5+
ignore = dirty

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 4.6](https://img.shields.io/badge/for_raylib-4.5-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 4.6](https://img.shields.io/badge/for_raylib-4.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

projects/CMake/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
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 4.2.0
11+
GIT_TAG 4.5.0
1212
)
1313
FetchContent_MakeAvailable(raylib)
1414
endif()
@@ -20,7 +20,7 @@ if (NOT raylib_cpp_FOUND)
2020
FetchContent_Declare(
2121
raylib_cpp
2222
GIT_REPOSITORY https://github.com/RobLoach/raylib-cpp.git
23-
GIT_TAG v4.2.6
23+
GIT_TAG v4.5.1
2424
)
2525
FetchContent_MakeAvailable(raylib_cpp)
2626
endif()

projects/CMake/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# raylib-cpp CMake Example Project
22

3-
Use this template to build a [raylib-cpp](https://github.com/RobLoach/raylib-cpp) project using CMake.
3+
Use this template to build a [raylib-cpp](https://github.com/RobLoach/raylib-cpp) project using [CMake](https://cmake.org).
44

55
## Build
66

7+
To build this project, make sure to have CMake installed locally.
8+
9+
### Desktop
10+
711
```
812
mkdir build
913
cd build

projects/CMake/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void UpdateDrawFrame(void)
7171

7272
ClearBackground(RAYWHITE);
7373

74-
DrawText("Congrats! You created your first raylib-cpp window!", 190, 200, 20, LIGHTGRAY);
74+
DrawText("Congrats! You created your first raylib-cpp window!", 160, 200, 20, LIGHTGRAY);
7575

7676
EndDrawing();
7777
//----------------------------------------------------------------------------------

0 commit comments

Comments
 (0)