SFML playground
Go to file
John Bartholomew 2ac7653608 Add pkg-config files, optionally installed by CMake on Linux builds.
The modules provided are:

  - sfml-system
  - sfml-graphics
  - sfml-window
  - sfml-audio
  - sfml-network
  - sfml-all (depends on all the above modules)

They are installed to ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/
which is the standard location for pkg-config files on Linux.

An example use if using autotools:

    # configure.ac
    AC_INIT([sfml-example],[1.0],[example@example.com])
    AM_INIT_AUTOMAKE([foreign])
    AC_PROG_CXX
    PKG_CHECK_MODULES([sfml],
        [sfml-all >= 2.0.0],
        [], [AC_MSG_ERROR([SFML is required])])
    AC_CONFIG_FILES([Makefile])
    AC_OUTPUT

    # Makefile.am
    bin_PROGRAMS = sfml_example
    sfml_example_SOURCES = src/sfml_example.cpp
    sfml_example_CFLAGS = $(sfml_CFLAGS)
    sfml_example_LIBS = $(sfml_LIBS)

An example if using hand-written Makefiles:

    # Makefile
    sfml-example: src/sfml-example.cpp
        g++ `pkg-config --cflags --libs sfml-all` -o $@ $^
2012-01-10 21:08:20 +00:00
cmake The architecture (32/64 bits) is now detected only on Windows 2012-01-03 18:02:18 +01:00
doc Fix CMake variables to allow adding SFML as a dependency. 2011-08-07 14:33:42 +01:00
examples Removed warning in Shader.cpp 2011-12-29 19:24:47 +01:00
extlibs Stipped debug symbols from OSX/sndfile 2011-08-09 12:03:21 +02:00
include/SFML Minor fix in comments 2012-01-04 20:38:02 +01:00
src/SFML The architecture (32/64 bits) is now detected only on Windows 2012-01-03 18:02:18 +01:00
tools Add pkg-config files, optionally installed by CMake on Linux builds. 2012-01-10 21:08:20 +00:00
CMakeLists.txt Add pkg-config files, optionally installed by CMake on Linux builds. 2012-01-10 21:08:20 +00:00
license.txt Updated license.txt 2011-03-27 13:12:47 +02:00
readme.txt Minor fix in readme.txt 2011-04-11 17:31:39 +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.gom@gmail.com)
Marco Antognini - OS X developer (antognini.marco@gmail.com)

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/LaurentGomila/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/LaurentGomila/SFML/wiki/)
* The community forum (http://www.sfml-dev.org/forum/)

Contribute
----------

SFML is an open-source project, and it needs your help to go on growing and improving.
Don't hesitate to post suggestions or bug reports on the forum (http://www.sfml-dev.org/forum/),
submit patches by e-mail, or post new bugs/features requests on the task tracker (https://github.com/LaurentGomila/SFML/issues/).
You can even fork the project on github, maintain your own version and send us pull requests periodically to merge your work.