Skip to content

Commit 6988e1d

Browse files
committed
Update SFML version to 3.0.2
1 parent 603122a commit 6988e1d

File tree

8 files changed

+15
-14
lines changed

8 files changed

+15
-14
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ concurrency:
77
cancel-in-progress: true
88

99
env:
10-
SFML_VERSION: 3.0.1
10+
SFML_VERSION: 3.0.2
1111

1212
defaults:
1313
run:
@@ -134,7 +134,7 @@ jobs:
134134
path: CSFML
135135

136136
- name: Configure CSFML CMake
137-
run: cmake --preset dev -S CSFML -B CSFML/build -DSFML_ROOT=SFML/install -DCMAKE_BUILD_TYPE=Debug
137+
run: cmake --preset dev -S CSFML -B CSFML/build -DSFML_ROOT=${{github.workspace}}/SFML/install -DCMAKE_BUILD_TYPE=Debug
138138

139139
- name: Tidy
140140
run: cmake --build CSFML/build --target tidy
@@ -168,7 +168,7 @@ jobs:
168168
path: CSFML
169169

170170
- name: Configure CSFML
171-
run: cmake -S CSFML -B CSFML/build -GNinja -DSFML_ROOT=SFML/install -DCSFML_BUILD_DOC=ON -DCSFML_LINK_SFML_STATICALLY=ON
171+
run: cmake -S CSFML -B CSFML/build -GNinja -DSFML_ROOT=${{github.workspace}}/SFML/install -DCSFML_BUILD_DOC=ON -DCSFML_LINK_SFML_STATICALLY=ON
172172

173173
- name: Build Doxygen Site
174174
run: cmake --build CSFML/build --target doc

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
SFML_VERSION: 3.0.1
17+
SFML_VERSION: 3.0.2
1818

1919
jobs:
2020
windows-x86:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ endif()
6666
if(CSFML_BUILD_NETWORK)
6767
list(PREPEND SFML_MODULES "Network")
6868
endif()
69-
find_package(SFML 3.0.0 COMPONENTS ${SFML_MODULES} REQUIRED)
69+
find_package(SFML 3.0.2 COMPONENTS ${SFML_MODULES} REQUIRED)
7070

7171
# add the subdirectories
7272
add_subdirectory(src/CSFML)

tools/BuildMacOS.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
VERSION="3.0.0"
3+
VERSION="3.0.2"
44
VERSION_C="3.0.0"
55
# BUILD_CSFML=FALSE
66
BUILD_CSFML=TRUE

tools/nuget/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# CSFML NuGet Packages
2+
23
This directory contains all the files needed to build and package the native CSFML libraries for [SFML.Net](github.com/SFML/SFML.Net).
34
**All scripts must be run from the directory they are located in**.
45
That means that your current working directory (`$PWD`) must be the same where the script is.
56

67
All build scripts follow the same routine:
78
1. Clone the SFML repository at `Build/SFML`, if it isn't already there
8-
1. Configure & compile SFML with cmake inside of `Build/(RID)/SFML`, where `(RID)` is the [Runtime Identifier](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog) for the target of the libraries being built
9-
1. Configure & compile CSFML with cmake inside of `Build/(RID)/CSFML`
10-
1. Copy the resulting libraries to `CSFML/runtimes/(RID)/native/`
9+
2. Configure & compile SFML with cmake inside of `Build/(RID)/SFML`, where `(RID)` is the [Runtime Identifier](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog) for the target of the libraries being built
10+
3. Configure & compile CSFML with cmake inside of `Build/(RID)/CSFML`
11+
4. Copy the resulting libraries to `CSFML/runtimes/(RID)/native/`
1112

1213

1314
* `build.win.ps1`
@@ -23,7 +24,7 @@ All build scripts follow the same routine:
2324
Currently supported RIDs are:
2425
* `osx-x64` (uses macOS SDK 10.12)
2526
* `osx.11.0-x64`
26-
* `osx.11.0-arm64` (requires SFML 2.6)
27+
* `osx.11.0-arm64` (requires SFML 2.6+)
2728

2829
* `build.docker.sh`, `build.docker.ps1`
2930
* A script to build the native libraries for a Linux distribution in a Docker container. If no RID is specified as a parameter, all supported RIDs will be built. Currently, the supported RIDs are:
@@ -34,7 +35,7 @@ All build scripts follow the same routine:
3435
* `alpine-x64`
3536
* `debian-x64` (compatible with derivatives such as Ubuntu and Linux Mint)
3637
* `ubuntu-x64`
37-
* `fedora-x64`
38+
* `fedora-x64` (not an official RID anymore)
3839

3940
* `pushnuget.ps1`, `pushnuget.sh`
4041
* A script to automatically build and push the NuGet package to nuget.org. Make sure that all the native libraries are in `CSFML/runtimes/` before running this.

tools/nuget/build.linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ echo "Please note that all SFML dependencies must be installed and available to
4242

4343
RID="$1"
4444

45-
SFMLBranch="3.0.1" # The branch or tag of the SFML repository to be cloned
45+
SFMLBranch="3.0.2" # The branch or tag of the SFML repository to be cloned
4646
CSFMLDir="$(realpath ../../)" # The directory of the source code of CSFML
4747

4848
OutDir="./CSFML/runtimes/$RID/native" # The base directory of all CSFML modules, used to copy the final libraries

tools/nuget/build.macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ echo "Please note that all SFML dependencies must be installed and available to
4646

4747
RID="$1"
4848

49-
SFMLBranch="3.0.1" # The branch or tag of the SFML repository to be cloned
49+
SFMLBranch="3.0.2" # The branch or tag of the SFML repository to be cloned
5050
CSFMLDir="$(grealpath "$(git rev-parse --show-toplevel)")" # The directory of the source code of CSFML
5151

5252
OutDir="./CSFML/runtimes/$RID/native" # The base directory of all CSFML modules, used to copy the final libraries

tools/nuget/build.win.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Write-Output "Building $RID"
4343
Write-Output "Using $Generator as the cmake generator"
4444
Write-Output "Using architecture $ArchitectureCMake"
4545

46-
$SFMLBranch = "3.0.1" # The branch or tag of the SFML repository to be cloned
46+
$SFMLBranch = "3.0.2" # The branch or tag of the SFML repository to be cloned
4747
$CSFMLDir = (Get-Item (git rev-parse --show-toplevel)).FullName # The directory of the source code of CSFML
4848

4949
$OutDir = "./CSFML/runtimes/$RID/native" # The directory of all CSFML modules, used to copy the final dlls

0 commit comments

Comments
 (0)