Skip to content

Commit bcfc711

Browse files
Merge pull request #166 from Longwater1234/dev
UPDATE many dependencies
2 parents 68c057e + 1808b87 commit bcfc711

File tree

12 files changed

+13
-25
lines changed

12 files changed

+13
-25
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
1010
set(CMAKE_CXX_STANDARD 17)
1111
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
1212
set(CMAKE_CXX_EXTENSIONS OFF)
13-
# Only macOS links SFML as Frameworks, not static
13+
# On macOS using Frameworks, NOT static (dylib)
1414
if(NOT APPLE)
1515
set(SFML_STATIC_LIBRARIES TRUE)
1616
endif()

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Offline & Online Multiplayer Checkers game in C++ built with SFML 2.6, imGui, Protobuf and ixWebsockets. With very minimal dependencies
44
and a simple build process. All dependencies are auto-downloaded (as `.tar.gz`) and configured for you using [CPM.cmake](https://github.com/cpm-cmake/CPM.cmake). The only dependency you need pre-installed on your OS is SFML 2.6.x (or newer).
55

6-
This game can connect to both Private and Public game servers. The backend server for this game is written in Golang, and is [available on GitHub](https://github.com/Longwater1234/checkers-backend) which you can self-host! You can download pre-built game (Windows x64 exe) from Actions tab (on GitHub Web). For other platforms, use the itch.io link above.
6+
This game can connect to both Private and Public game servers. The backend server for this game is written in Golang, and is [available on GitHub](https://github.com/Longwater1234/checkers-backend) which you can self-host! Download and Play the game from the itch.io link above.
77

88
### Main Libraries Used
99

@@ -22,7 +22,6 @@ This game can connect to both Private and Public game servers. The backend serve
2222

2323
### For Windows
2424

25-
- At least Windows 10 / Server 2016
2625
- MS Visual Studio 2022 or newer (NOT vscode), with "**Desktop C++ Development**" bundle.
2726
- Please download "Visual C++ 64bit" edition of SFML; ignore others.
2827
- Move your unzipped `SFML-2.6.x` folder to its own home, example: `C:/SFML/SFML-2.6.1`.

dependencies/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ include(protobuf.cmake)
1313
CPMAddPackage(
1414
NAME imgui
1515
URL "https://github.com/ocornut/imgui/archive/refs/tags/v1.90.8.tar.gz"
16-
VERSION 1.90.8
1716
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
1817
)
1918

@@ -35,7 +34,6 @@ endif()
3534
CPMAddPackage(
3635
NAME imgui-sfml
3736
URL "https://github.com/SFML/imgui-sfml/archive/refs/tags/v2.6.tar.gz"
38-
VERSION 2.6
3937
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
4038
OPTIONS "IMGUI_SFML_FIND_SFML OFF" "IMGUI_DIR ${imgui_SOURCE_DIR}"
4139
)

dependencies/ixwebsocket.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# IXWebSocket 11.4.2 (BSD-3-Clause License)
1+
# IXWebSocket 11.4.5 (BSD-3-Clause License)
22

33
CPMAddPackage(
44
NAME ixwebsocket
55
URL "https://github.com/machinezone/IXWebSocket/archive/refs/tags/v11.4.5.tar.gz"
6-
VERSION 11.4.5
76
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
87
DOWNLOAD_ONLY ON
98
OPTIONS "USE_TLS TRUE" "USE_MBED_TLS TRUE" "USE_ZLIB TRUE"

dependencies/libcpr.cmake

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
# add libcpr (HTTP Client) v1.11.1
1+
# add libcpr (simpler CURL) v1.11.3
22

33
SET(SSL_OPTION "CPR_FORCE_OPENSSL_BACKEND TRUE")
44
if(WIN32)
55
SET(SSL_OPTION "CPR_FORCE_WINSSL_BACKEND TRUE")
6-
# elseif(APPLE)
7-
# SET(SSL_OPTION "CPR_FORCE_DARWINSSL_BACKEND TRUE")
86
endif()
97

8+
# dont upgrade, will require MESON to build!
109
CPMAddPackage(
1110
NAME cpr
12-
URL "https://github.com/libcpr/cpr/archive/refs/tags/1.11.1.tar.gz"
13-
VERSION 1.11.1
11+
URL "https://github.com/libcpr/cpr/archive/refs/tags/1.11.3.tar.gz"
1412
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
1513
OPTIONS "BUILD_SHARED_LIBS FALSE" "CURL_USE_LIBPSL OFF" "USE_LIBIDN2 OFF" ${SSL_OPTION}
1614
)

dependencies/mbedtls.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# mbedtls v2.25.0 (Apache-2.0 License)
1+
# mbedtls v2.28 (Apache-2.0 License)
22

33
CPMAddPackage(
44
NAME mbedtls
5-
URL "https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.25.0.tar.gz"
6-
VERSION 2.25.0
5+
URL "https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.28.10.tar.gz"
76
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
87
DOWNLOAD_ONLY ON
98
)

dependencies/protobuf.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
CPMAddPackage(
33
NAME abseil
44
URL "https://github.com/abseil/abseil-cpp/archive/refs/tags/20250127.0.tar.gz"
5-
VERSION 220250127
65
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
76
OPTIONS "ABSL_ENABLE_INSTALL ON" "ABSL_PROPAGATE_CXX_STD ON"
87
)
@@ -11,7 +10,6 @@ CPMAddPackage(
1110
CPMAddPackage(
1211
NAME protobuf
1312
URL "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v30.1.tar.gz"
14-
VERSION 30.1
1513
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
1614
OPTIONS "protobuf_BUILD_TESTS OFF" "protobuf_INSTALL OFF" "protobuf_BUILD_PROTOBUF_BINARIES ON"
1715
"protobuf_BUILD_LIBUPB OFF" "protobuf_BUILD_PROTOC_BINARIES OFF" "protobuf_MSVC_STATIC_RUNTIME OFF"

dependencies/simdjson.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Get simdjson 3.10.0
22
CPMAddPackage(
33
NAME simdjson
4-
URL "https://github.com/simdjson/simdjson/archive/refs/tags/v3.10.0.tar.gz"
5-
VERSION 3.10.0
4+
URL "https://github.com/simdjson/simdjson/archive/refs/tags/v3.13.0.tar.gz"
65
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
76
)

dependencies/spdlog.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# GET spdlog v1.14
1+
# GET spdlog v1.15
22
CPMAddPackage(
33
NAME spdlog
4-
URL "https://github.com/gabime/spdlog/archive/refs/tags/v1.14.0.tar.gz"
5-
VERSION 1.14.0
4+
URL "https://github.com/gabime/spdlog/archive/refs/tags/v1.15.3.tar.gz"
65
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
76
)

dependencies/zlib.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
CPMAddPackage(
44
NAME zlib
55
URL "https://github.com/madler/zlib/archive/refs/tags/v1.3.1.tar.gz"
6-
VERSION 1.3.1
76
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
87
DOWNLOAD_ONLY ON
98
)

0 commit comments

Comments
 (0)