SFML mainline mirror
Go to file
Mario Liebisch 291e6248d6
Update CMakePresets and CMakeLists.txt
These changes ensure Visual Studio allows both Debug and Release builds,
while also supporting direct debugging of the examples.

If `CMAKE_BUILD_TYPE` is set in any way, Visual Studio will disable all
targets in the UI (and in generally have a really good tendency to bug
out).
2024-06-07 13:22:55 +02:00
.github Upgrade clang-tidy for Linux jobs 2024-05-21 01:06:16 -06:00
cmake Add GitHub actions support for running x86, x86_64 and arm64-v8a Android tests using an Android emulator. 2024-05-04 17:22:12 +00:00
doc Remove default empty state of sf::Font 2024-05-19 14:01:54 -06:00
examples Restore Shader and Island examples back to equivalent pre-API-change functionality. 2024-05-30 12:53:11 -06:00
extlibs Update 'stb_image' to 2.29 2024-05-07 09:52:29 +02:00
include/SFML Add clang-tidy readability-redundant-member-init check 2024-06-04 00:56:24 -06:00
src/SFML Reduce the scope of variables 2024-06-04 01:54:09 -06:00
test Remove sf::View::reset in favor of assignment operations 2024-05-26 10:23:52 -06:00
tools Fix outdated template code 2024-05-26 07:35:30 -06:00
.clang-format Replaced OpenAL with miniaudio. 2024-04-25 10:24:11 +02:00
.clang-tidy Add clang-tidy readability-redundant-member-init check 2024-06-04 00:56:24 -06:00
.editorconfig Added an .editorconfig file 2015-02-06 11:07:39 +01:00
.gitattributes Fix file extension typo in .gitattributes 2024-01-15 16:47:09 -07:00
.gitignore Remove irrelevant entries from .gitignore 2023-08-29 23:14:58 -06:00
changelog.md Fix Nix pkg-config support 2023-12-15 09:42:56 -07:00
CMakeLists.txt Update CMakePresets and CMakeLists.txt 2024-06-07 13:22:55 +02:00
CMakePresets.json Update CMakePresets and CMakeLists.txt 2024-06-07 13:22:55 +02:00
CONTRIBUTING.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
license.md Update copyright year 2024-01-26 12:00:22 -07:00
readme.md Updated readme to point to SFML 2.6.1 2024-04-30 00:46:27 +00:00

SFML logo

SFML — Simple and Fast Multimedia Library

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.

State of Development

Development is focused on the next major version in the master branch. No more features are planned for the 2.x release series.

  • The master branch contains work in progress for the next major version SFML 3. As such it's considered unstable, but any testing and feedback is highly appreciated.
  • The 2.6.1 tag is the latest official SFML release and will be the last minor release in the 2.x series.

CMake Template

The easiest way to get started with SFML is our CMake-based project template. This template will automatically download and build SFML alongside your own application. Read the README for full instructions on how to use it.

Download

  • You can get the latest official release on SFML's website.
  • You can also get the source code of the current development version from the Git repository.
  • Alternatively, you can get the latest snapshot / artifact builds from the artifacts storage.

Install

Follow the instructions of the tutorials, there is one for each platform/compiler that SFML supports.

Learn

There are several places to learn SFML:

Community

Here are some useful community links:

Contribute

SFML is an open-source project, and it needs your help to go on growing and improving. If you want to get involved and suggest some additional features, file a bug report or submit a patch, please have a look at the contribution guidelines.

Authors

License

The SFML libraries and source code are distributed under the zlib/libpng license. See license.md. External libraries used by SFML are distributed under their own licenses.

In short, SFML is free for any use (commercial or personal, proprietary or open-source). You can use SFML in your project without any restriction. You can even omit to mention that you use SFML -- although it would be appreciated.

External libraries used by SFML