SFML playground
Go to file
Chris Thrasher ff685de1bf Ensure add_custom_command uses VERBATIM
https://cmake.org/cmake/help/latest/command/add_custom_command.html

"Use of VERBATIM is recommended as it enables correct behavior."

The docs basically say that this is required.
2022-10-12 00:23:35 +02:00
.github Test Xcode generator in CI 2022-09-26 23:50:26 +02:00
cmake Use PROJECT_ variables 2022-10-12 00:23:35 +02:00
doc Limit the scope of event object 2022-06-08 13:16:40 +02:00
examples Consolidate redundant gl.h headers 2022-10-09 13:04:24 +02:00
extlibs Remove vendored doctest header 2022-07-20 08:56:59 +02:00
include/SFML Add '[[nodiscard]]' to 'IpAddress::resolve' 2022-10-07 14:37:53 +02:00
src/SFML Add PCH builds via 'SFML_ENABLE_PCH' CMake option 2022-10-09 14:21:11 +02:00
test Ensure add_custom_command uses VERBATIM 2022-10-12 00:23:35 +02:00
tools Run clang-format 2022-07-11 20:04:56 +02:00
.clang-format Add '.clang-format' file, CI integration, and formatting exceptions 2022-07-11 20:04:56 +02:00
.editorconfig Added an .editorconfig file 2015-02-06 11:07:39 +01:00
.gitattributes Added a FLAC file to the Sound example to cover all three supported formats. 2015-03-28 22:49:46 +01:00
.gitignore edit gitignore to ignore clion default output directory 2022-09-05 22:32:44 +02:00
changelog.md Updated the changelog and version number for 2.5.1 2018-10-15 21:52:40 +02:00
CMakeLists.txt Ensure add_custom_command uses VERBATIM 2022-10-12 00:23:35 +02:00
CONTRIBUTING.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
license.md Fix license detection and add helpful links to external libraries and their licenses. 2022-02-11 08:29:00 +01:00
readme.md Acknowledge latest SFML team member 2022-09-28 07:30:21 +02: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

SFML is currently in an interesting state of development, which can quickly become confusing if you aren't following it closely. As such we want to clarify where to get which version.

  • 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.x branch is the nearly complete next minor version SFML 2.6, which should be very stable, even if it hasn't been officially released yet.
  • The 2.5.1 tag is the last official SFML release, but it lacks a lot of fixes and features that can already be found on the 2.6.x branch.

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