Chris Thrasher
b7510fd09e
Fix formatting and style
...
Use all lower_case commands with no space between the command name
and the open parentheses. Don't repeat conditional in else() and
endif() calls.
2022-08-22 11:26:57 +08:00
Radek Dutkiewicz
b6ca47e128
DRM Implementation
...
Ported sfml-pi DRM/KMS backend written by @mickelson
Port co-authored by @substring
Co-authored-by: Andrew Mickelson <andrew.mickelson@gmail.com>
Co-authored-by: Gil Delescluse <frog2wah@gmail.com>
2022-04-26 07:44:14 +02:00
Jan Haller
110fb75513
Rename FindVorbis -> FindVORBIS, for consistency with exported variables (e.g. VORBIS_FOUND)
...
Fixes #1626
2020-01-02 15:28:31 +01:00
Ceylo
09e24adf2e
Remove FindSFML.cmake
2018-03-27 00:03:34 +02:00
Ceylo
ee08e18726
Modernize CMake files
2018-03-27 00:03:34 +02:00
Jonny Paton
d6c6345d4c
Don't need to find vorbisfile or vorbisenc on iOS
2018-01-29 17:53:46 +01:00
papychacal
341bc2a130
Added Tagfile generation and finding
2018-01-25 22:00:38 +01:00
Laurent Gomila
2aa70def6f
Removed dependency to libjpeg, stb_image_write now supports writing JPEG files
2017-09-28 19:55:10 +02:00
binary1248
9996b7abb6
Converted Unix Window implementation from XCB back to Xlib.
2016-09-29 09:25:34 +02:00
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
Andras Kucsma
fb40e7e43f
Change comment chars in FindSFML.cmake to #
2016-06-05 00:08:55 +02:00
Alexander Ankudinov
18193a5cde
Fix FindSFML.cmake can't find SFML 2.1
2015-08-24 13:36:04 +02:00
dawid-aurobit
7fba68ac52
convert FLAC name to upper case
2015-08-04 09:50:18 +02:00
binary1248
e80bf0ba92
Fix whitespace: Convert tabs to spaces and remove trailing whitespace.
2015-04-15 01:53:43 +02:00
binary1248
3ec672afe9
Removed XCB dependencies (EWMH, ICCCM, Keysyms, Util), added XCB libraries to FindSFML.cmake, fixed checking for X11 library checking for XRandR instead.
2015-04-06 01:06:00 +02:00
Jan Haller
5ce73e9274
FindSFML.cmake: Added missing VorbisEnc dependency
2015-03-31 20:59:22 +02:00
Jan Haller
c0bee34d42
FindSFML.cmake: Ignored environment variables to find library paths
...
Environment variables (e.g. PATH on Windows) are looked up early by CMake, and libraries found there are prioritized over those in SFML's own folder. To avoid paths to wrong libraries, this commit modifies the CMake find_library() call, such that environment variables are no longer considered as suitable paths.
2015-03-31 20:59:21 +02:00
binary1248
3e397bff4b
Replaced GLEW with (a highly customized) loader generated by glLoadGen, restructured GLExtensions.hpp for easier extension bookkeeping, make use of GLEXT definitions in Shader.cpp and Texture.cpp as well, replaced GL_MAX_TEXTURE_COORDS with GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, implemented flags for requesting a debug or core/compatibility profile context, changed the default context version from 2.0 to 2.1.
2015-03-23 16:10:28 +01:00
Lukas Dürrenberger
d53338298a
Added the FindFreetype.cmake CMake module, set the minimum require CMake version to 2.8.3 and fixed the paths to the FreeType headers.
2015-03-21 10:30:31 +01:00
Mario Liebisch
f17ea5872b
Removed last references to libsndfile
2015-03-04 09:36:24 +01:00
Mario Liebisch
af4dac6fed
Marked the FLAC/Vorbis/Ogg variables as advanced
2015-03-04 09:36:23 +01:00
Jonathan De Wachter
3fbfde39a5
Adjusted the new audio backends to compile on Linux
2015-03-04 09:33:06 +01:00
Laurent Gomila
5e0e645f46
Added support for FLAC audio files
2015-03-04 09:33:05 +01:00
Laurent Gomila
f0608eaed8
Redesigned the audio encoding/decoding classes to get rid of libsndfile
2015-03-04 09:33:03 +01:00
Mark Dresselhaus
66f38262f7
Fixed missing pthread dependency
...
The find script fails to add pthread to the SFML_SYSTEM_DEPENDENCIES when linking SFML statically on Linux.
2015-02-10 23:35:07 +01:00
Lukas W
135c1716e8
Replaced Xlib by XCB implementation.
...
* Added FindXCB.cmake script
* Added AutoPointer wrapper for automatically free'ing pointers
* Huge commit: Ported linux implementation of sfml-window to xcb
* Xcb is now used for window creation, event loop etc
* As GLX is linked to Xlib, that part of the implementation
still uses Xlib.
* Also, some keyboard related (such as XLookupString) stuff
is still Xlib, as xcb does not have it (yet?).
* Replaced some enums with the xcb equivalents
2014-12-29 08:59:20 +01:00
Danijar Hafner
f44c903e56
Hide CMake success message in quiet mode
2014-12-21 12:50:55 +01:00
Lukas Dürrenberger
1c46ec7c37
Updated the version to 2.2, added support for patch versions and added the changelog.txt
2014-12-04 16:09:54 +01:00
Lukas Dürrenberger
45810a1345
Fixed additional comments and documention spelling mistakes.
2014-11-18 01:02:07 +01:00
Lukas Dürrenberger
e257909a65
Fixes CMake issues with udev ( #734 )
2014-11-10 14:45:50 +01:00
Mario Liebisch
1271dff960
Reworked the UDev inclusion
...
* This fixes `SFML_DEPENDENCIES` missing the UDev library for static builds (issue #728 ).
2014-11-06 08:36:27 +01:00
Stefan Schindler
f24ca9a840
Source code changes.
...
* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
2014-10-06 01:18:47 +02:00
binary1248
c37e442cee
Fixed FindSFML.cmake not updating library entries when the user changes the value of SFML_STATIC_LIBRARIES after the initial configure ( #637 ).
2014-08-26 08:27:33 +02:00
Laurent Gomila
83e019e7d3
Fixed order of dependent libraries (SFML_DEPENDENCIES variable) in FindSFML.cmake
2014-07-26 21:01:17 +02:00
Marco Antognini
1ce8a42954
Merge pull request #548 from jdpage/master
...
Adjust CMake module to provide correct deps on OSX
2014-04-23 11:08:19 +02:00
Jonathan De Wachter
45f23cdbbb
Made the OpenGL ES implementation available on ARM-based Linux OSes
2014-04-20 12:58:00 +02:00
Jonathan David Page
d7c9df7600
Adjust CMake module to provide correct deps on OSX
...
Module will now give the OpenGL framework as a dependency instead of the
nonexistent libGL.
2014-03-10 22:25:17 -04:00
Jan Haller
185c09a95c
Added CMake find module for udev library
2014-03-09 13:10:42 +01:00
Laurent Gomila
4cddde79fe
Updated FindSFML.cmake to provide a list of 3rd-party dependencies when SFML is linked statically
2013-11-04 22:38:25 +01:00
Laurent Gomila
dd48427bb8
Improved the success message in FindSFML.cmake
2012-12-23 09:25:16 +01:00
Laurent Gomila
aa1007a619
Minor corrections in the documentation of FindSFML.cmake (components order)
2012-07-07 17:22:40 +02:00
Marco Antognini
9e18f64d6b
Added support of Mac OS X framework in FindSFML.cmake ( Close #106 )
2012-04-19 21:03:20 +02:00
Laurent Gomila
3cec4b29d6
FindSFML.cmake now uses the SFML_ROOT variable instead of SFMLDIR (the name is less confusing)
2012-04-18 18:42:49 +02:00
Laurent Gomila
be7bcae823
Improved the documentation of FindSFML.cmake
2012-04-08 18:47:02 +02:00
Laurent Gomila
effe6d4cec
Improved FindSFML.cmake: the SFMLDIR variable now has the priority over standard paths when searching SFML headers and libs (implements issue #142 )
2011-12-29 16:16:09 +01:00
Laurent Gomila
512a7c63cb
FindSFML.cmake now defines the SFML_STATIC macro when requesting static libraries
2011-10-09 11:20:45 +02:00
Marco Antognini
e09db44906
Cmake now is able to build SFML libraries as frameworks ( closes #12 )
...
Cmake can now automatically install the Xcode templates
2011-08-20 12:22:39 +02:00
Laurent Gomila
75e07d63d3
Fixed error in FindSFML.cmake when parsing SFML 1.x Config.hpp for version number
2011-06-11 12:04:52 +02:00
Laurent Gomila
3490d57344
Minor modifications in FindGLEW and FindSndFile
2011-05-14 22:17:47 +02:00
Laurent Gomila
17971ca198
Fixed FindSFML.cmake
2011-04-18 18:19:57 +02:00