Commit Graph

115 Commits

Author SHA1 Message Date
binary1248
444873d287
Build dependency libraries instead of bundling pre-built binaries. 2024-11-19 13:51:53 -07:00
CosminPerRam
8f6a8316ad chore: update stb_image from 2.29 to 2.30 2024-08-15 21:18:58 +01:00
Lukas Dürrenberger
1bf092fe6d Merge branch '2.6.x' into master 2024-06-26 08:56:03 +02:00
Zombieschannel
98493bdf51 ARM64 support for SFML
Added dlls, libs and changed CMake files.
2024-06-25 23:17:36 +02:00
vittorioromeo
af4e2d6726 Add support for UCRT64 MinGW environment 2024-06-25 21:49:44 +02:00
vittorioromeo
415668cb82 Update 'stb_image' to 2.29 2024-05-07 09:52:29 +02:00
binary1248
34fde883b9 Replaced OpenAL with miniaudio.
Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
Co-authored-by: kimci86 <kimci86@hotmail.fr>
Co-authored-by: vittorioromeo <mail@vittorioromeo.com>
2024-04-25 10:24:11 +02:00
Bruno Van de Velde
cf3dfb72a2 Removed support for ndk-build on Android (in favor of CMake) 2023-11-14 16:04:30 -07:00
Chris Thrasher
ddfb7f6cb0 Use modern name for macOS
In a few places I left references to the old name where appropriate.
There are also many CMake references to "OSX" that we have to keep
using since CMake does not offer alternative names for those variables
and target properties.
2023-07-24 21:25:26 -06:00
Chris Thrasher
5ebba36d16
Merge branch '2.6.x' into feature/backmerge 2023-04-01 15:23:48 -06:00
Chris Thrasher
1bb494f4c0 Upgrade to stb_image 2.28 2023-03-23 19:11:24 -06:00
Chris Thrasher
15cdb40fc2
Merge branch '2.6.x' into feature/backmerge 2022-12-29 22:48:49 -07:00
kimci86
3649fceb8b Update stb_image to v2.27 and stb_image_write to v1.16 2022-12-29 00:08:52 +01:00
kimci86
37db7a83f3 Update Catch to v1.12.2 with latest bugfixes
It solves compilation errors with GCC 11.3 on Ubuntu 22.04
2022-12-22 08:37:50 -07:00
Chris Thrasher
dc9d794722
Merge remote-tracking branch 'origin/2.6.x' into feature/backmerge 2022-12-13 23:06:49 -07:00
Chris Thrasher
866dbee8cb Add DRM utilities to sfml-window 2022-12-13 21:52:42 -07:00
Lukas Dürrenberger
d4d518e1be Merge branch '2.6.x' into master 2022-10-25 19:17:35 +02:00
Subs
65ef0619c8 [DRM] Use the current resolution
In order to prevent an unnecessary modeswitch and use the current TTY resolution, don't use the preferred mode reported by DRM. This is useful for people who set a custom resolution at boot and are forced into the monitor's preferred resolution when a SFML DRM app starts
2022-10-24 00:16:32 +02:00
Subs
1d12c56332 [DRM] Use a GFX card with connected monitors 2022-10-20 00:19:30 +02:00
Chris Thrasher
a5dbe59f07
Merge branch '2.6.x' 2022-10-13 14:33:11 -06:00
Chris Thrasher
a47eb8320a Remove vendored doctest header 2022-07-20 08:56:59 +02:00
Waldegger
308857702e
Add Android dependency binaries for x86_64 and arm64-v8a architectures
* Remove unused libFLAC++.a for all Android architectures
* Enhance GitHub Actions builds

Co-authored-by: Waldegger <Stefan.Waldegger@users.noreply.github.com>
2022-07-19 08:03:16 +02:00
kimci86
6d1e428640 Update glad/egl.h 2022-06-27 20:39:30 +02:00
Chris Thrasher
ce9577bbff Upgrade to Doctest v2.4.9
Fixes some linker errors and a compiler error described here:

https://github.com/doctest/doctest/issues/636
2022-06-23 18:47:23 +02:00
Lukas Dürrenberger
9a6142bd22 Merge branch '2.6.x' 2022-04-27 08:12:25 +02:00
Radek Dutkiewicz
b6ca47e128 DRM Implementation
Ported sfml-pi DRM/KMS backend written by @mickelson 
Port co-authored by @substring

Co-authored-by: Andrew Mickelson <andrew.mickelson@gmail.com>
Co-authored-by: Gil Delescluse <frog2wah@gmail.com>
2022-04-26 07:44:14 +02:00
Vittorio Romeo
29983aa8d4 Replace Catch with Doctest 2021-12-24 15:06:32 +01:00
Chris Thrasher
0f83e3d266 Use FetchContent to grab latest Catch2 release
The key benefit here is that now we're linking against their CMake
target which makes it easy to change how we depend on Catch2. We
can switch from FetchContent to FindPackage to a git submodule and
never have to change our code because we're depending on Catch2 in
the most flexible way possible.
2021-12-21 23:11:15 +01:00
Vittorio Romeo
4a189d6602 Remove build logic for unsupported compilers 2021-12-19 21:51:53 +01:00
Vittorio Romeo
18bb892625 Improve compilation times by removing some includes and avoiding heavy dependencies 2021-12-19 18:13:07 +01:00
lieff
e458f4651e Add MP3 decoding support using 'minimp3'
Co-authored-by: Lukas Dürrenberger <eXpl0it3r@my-gate.net>
Co-authored-by: Vittorio Romeo <vittorio.romeo@outlook.com>
2021-12-08 08:19:08 +01:00
Vittorio Romeo
6cf124db66 Fix remaining warnings
- Fixes in examples
- Fixes across all the modules
2021-11-30 11:25:58 +01:00
binary1248
a759ccd5db Enable compiler warnings. 2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
600d0f3baf Use correct rpath value for dependencies
FLAC as well as the vorbis libraries weren't correctly pointing to the ogg dependency via rpath, but instead used an absolute path of the build system
2021-11-14 18:31:27 +01:00
binary1248
4fcef893c9 Updated glad loader to OpenGL 4.6 Compatibility Profile as base and added version support defines to GLExtensions.hpp. 2021-03-28 19:26:16 +02:00
Lukas Dürrenberger
0fe1626a1f Add support for arm64 on macOS
The existing dependencies in the extlibs directory
have been updated to use universal frameworks
for both x86_64 and arm64, allowing SFML to built
natively on the new M1 chipset
2021-03-23 20:14:59 +01:00
Jan Haller
ea7408e1ee Update stb_image (2.16 -> 2.26) and stb_image_write (1.07 -> 1.15)
Closes #1711 - race condition on stbi_failure_reason()

This does not only avoid the race condition on the failure string itself, but also makes failure state thread-local, meaning that each string will be correctly associated with the last image it failed to load.
2020-12-06 13:35:00 +01:00
binary1248
6272f853c1 Add support for creating Vulkan window surfaces. 2019-10-16 21:48:24 +02:00
Lukas Dürrenberger
2eb70c6537 Replaced glLoadGen loader with glad loader and dynamically load EGL and GLES extensions as is done for desktop GL. 2019-09-12 23:02:52 +02:00
Lukas Dürrenberger
7d496095a5 Updated catch to v1.12.2 2019-02-19 10:16:38 +01:00
Stefan Schindler
3d46e39e6d Added Catch unit test framework. Added Vector2(i) unit test. Re-enabled CMake's RPATH feature. 2019-02-19 10:16:38 +01:00
binary1248
22f1b85515 Added support for interfacing with joysticks via DirectInput when it is available. 2018-02-10 14:47:37 +01:00
Laurent Gomila
2aa70def6f Removed dependency to libjpeg, stb_image_write now supports writing JPEG files 2017-09-28 19:55:10 +02:00
Lukas Dürrenberger
158f410ab5 Updated stb_image to v2.16 and stb_image_write to v1.07. 2017-09-06 00:05:15 +02:00
Lukas Dürrenberger
6b3061d9c2 Updated OpenAL Soft to 1.18.1 for Windows. 2017-08-25 16:29:32 +02:00
sol-prog
700fc7d9e0 Updated the binary libs from exlibs/libs-ios in order to work with Xcode 8 and iOS 10 2017-04-25 14:51:01 +02:00
Marco Antognini
40ae477cc3 Added CFBundleSupportedPlatforms key-value
This should improve the signing process of Mac Applications.

This improves the frameworks of external dependencies used by SFML. To
patch sfml-*.framework, one would need to customised the
`MACOSX_FRAMEWORK_INFO_PLIST` cmake property and provide a custom
Info.plist file with CFBundleSupportedPlatforms property set. See
https://cmake.org/cmake/help/latest/prop_tgt/FRAMEWORK.html

This is however not required (probably) if one used dylibs instead.

Related to #1020 and #1036. Credits go to @kipbits.
2017-02-20 18:23:37 +01:00
Marco Antognini
c98a84a5d8 Update OpenAL-soft for OS X to version 1.17.2
Build script: https://gist.github.com/mantognini/05460d9b6a8a272ed188
2016-04-14 09:04:53 +02:00
Lukas Dürrenberger
6b9781475d Added support for VS 2015. 2015-09-30 08:32:30 +02:00
Lukas Dürrenberger
7b4610b55b Merge branch 'feature/gl_dev_new' 2015-03-26 10:04:12 +01:00