SFML playground
Go to file
Chris Thrasher 4586db91a9 Add SFML:: namespace to targets
This removes the sfml- prefixed targets from the export set. The sfml-
prefixed targets are still available within the build tree but not to
downstream users thus making this an API breaking change when compared
to the 2.x releases. To keep things consistent, usage of the sfml-
targets were replaced with their namespaced counterparts.

This has a number of benefits:

  1. It's more idiomatic. Modern CMake libraries are expected to
     have namespaced targets.

  2. Namespaced targets are less likely to collide with user-defined
     targets. No one will accidentally define a SFML:: target.

  3. If a namespaced target is not found by CMake, configuration
     will immediately stop.
2022-01-11 22:27:39 +01:00
.github Enable support for unity builds 2021-08-12 21:00:16 +02:00
cmake Add SFML:: namespace to targets 2022-01-11 22:27:39 +01:00
doc Remove 'SFML_DEPRECATED' and replace internal usages with '[[deprecated]]' 2021-12-03 19:36:47 +01:00
examples Add SFML:: namespace to targets 2022-01-11 22:27:39 +01:00
extlibs Replace Catch with Doctest 2021-12-24 15:06:32 +01:00
include/SFML Merge branch '2.6.x' into feature/back_merge 2022-01-08 12:28:34 +01:00
src/SFML Add SFML:: namespace to targets 2022-01-11 22:27:39 +01:00
test Add SFML:: namespace to targets 2022-01-11 22:27:39 +01:00
tools Added CPack definitions and an NSIS template for easy packaging 2021-05-20 13:53:00 +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 Add '.gitignore' file 2021-12-05 01:28:05 +00:00
changelog.md Updated the changelog and version number for 2.5.1 2018-10-15 21:52:40 +02:00
CMakeLists.txt Remove build logic for unsupported compilers 2021-12-19 21:51:53 +01:00
CONTRIBUTING.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
license.md Add MP3 decoding support using 'minimp3' 2021-12-08 08:19:08 +01:00
readme.md Update SFML version to 3.0.0 2021-12-02 20:02:15 +01: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.

Authors

Download

You can get the latest official release on SFML's website. You can also get the current development version from the Git repository.

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:

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.