SFML mainline mirror
Go to file
Manu343726 9558c6d689 Correctly add XCB components if no components are requested
This commit fixes the FindXCB.cmake module for the case no components
are requested. The previous version assigned `XCB_FIND_COMPONENTS`
list to an empty variable name.

I was lucky enough to catch the bug in a corner case where both
`XCB_COMPONENTS` and `XCB_FIND_COMPONENTS` were empty and `set()`
command failed, but note this awesome CMake language supports more annoying
corner cases like `XCB_COMPONENTS` empty and `XCB_FIND_COMPONENTS`
with two elements, which results in the following `set()` invocation:

``` cmake
set(${XCB_FIND_COMPONENTS[0]} ${XCB_FIND_COMPONENTS[1]})
```

So always beware of CMake secret charms...
2016-08-24 14:05:17 +02:00
cmake Correctly add XCB components if no components are requested 2016-08-24 14:05:17 +02:00
doc Android: Added sf::getNativeActivity() to retrieve a handle to the current activity 2016-04-22 15:53:14 +02:00
examples Update copyright dates 2016-08-05 16:20:39 +02:00
extlibs Update OpenAL-soft for OS X to version 1.17.2 2016-04-14 09:04:53 +02:00
include/SFML Fixed PrimitiveType documentation 2016-08-07 18:37:18 +02:00
src/SFML Fixed not being able to set the window icon properly on some Unix window managers (#1087) and added support for setting the window icon via ICCCM (_NET_WM_ICON). 2016-08-24 14:05:02 +02:00
tools Update copyright dates 2016-08-05 16:20:39 +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
changelog.txt Added deprecated API in changelog 2016-08-07 18:37:03 +02:00
CMakeLists.txt Bump version to 2.4.0 2016-08-06 19:00:02 +02:00
CONTRIBUTING Added CONTRIBUTING guidelines 2015-08-17 20:05:26 +02:00
license.txt Update copyright dates 2016-08-05 16:20:39 +02:00
readme.txt Increased version to 2.3, updated the changelog and license and added Mario to the readme.txt. 2015-05-03 21:53:53 +02:00

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
-------

Laurent Gomila - main developer (laurent@sfml-dev.org)
Marco Antognini - OS X developer (hiura@sfml-dev.org)
Jonathan De Wachter - Android developer (dewachter.jonathan@gmail.com)
Jan Haller (bromeon@sfml-dev.org)
Stefan Schindler (tank@sfml-dev.org)
Lukas Dürrenberger (eXpl0it3r@sfml-dev.org)
binary1248 (binary1248@hotmail.com)
Artur Moreira (artturmoreira@gmail.com)
Mario Liebisch (mario@sfml-dev.org)

Download
--------

You can get the latest official release on SFML website (http://www.sfml-dev.org/download.php).
You can also get the current development version from the git repository (https://github.com/SFML/SFML).

Install
-------

Follow the instructions of the tutorials (http://www.sfml-dev.org/tutorials/), there is one for each platform/compiler that SFML supports.

Learn
-----

There are several places to learn SFML:
* The official tutorials (http://www.sfml-dev.org/tutorials/)
* The online API documentation (http://www.sfml-dev.org/documentation/)
* The community wiki (https://github.com/SFML/SFML/wiki/)
* The community forum (http://en.sfml-dev.org/forums/) (or http://fr.sfml-dev.org/forums/ for French people)

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 (http://www.sfml-dev.org/contribute.php).