Chris Thrasher
c20ab7d6d8
Ensure GNUInstallDirs cache vars are included before first used
2023-11-14 07:46:41 -07:00
Chris Thrasher
2d2e7fa5f4
Disable warnings as errors by default
2023-09-07 15:21:15 -06:00
Chris Thrasher
429bde6648
Don't specify standard library on macOS
...
libc++ is already the default and GCC can't even be used so there's
no circumstance where we'd need to explicitly tell Clang to use
libc++. I confirmed that even with this removed, libc++ headers are
still being used and found.
2023-07-22 20:57:55 -06:00
Chris Thrasher
1f23f7818e
Don't override CMAKE_MODULE_PATH
...
The Conan package for SFML has to fix this so apparently it's a
real world problem.
2023-06-23 10:14:21 -06:00
Chris Thrasher
e9e25d52bc
Loosen restrictions on unrecognized compilers
...
A core tenet of CMake is the idea that you can use any valid C++
compiler. By enumerating all supported compilers and emitting and
hard error when an unrecognized compiler is detected, we are violating
that tenet.
Relaxing this message from a fatal error to merely a warning continues
to communicate to users that their build may not succeed but it leaves
the door open for the build to potential succeed if the compiler meets
all of our requirements.
2023-06-22 16:26:26 -06:00
Lukas Dürrenberger
f47403ab4d
Update version number to 2.6.0
2023-06-20 23:44:57 +02:00
Chris Thrasher
6aaf132d41
Add support for installing with static libs when using DRM
2023-02-09 20:12:43 -07:00
Chris Thrasher
75b0c3a9a1
Disable warnings as errors for Clang on Windows
2022-12-12 12:09:51 -07:00
Bambo-Borris
12c091e0ce
Disable /WX for clang-cl
2022-06-12 17:40:01 +02: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
Vittorio Romeo
46639ed277
Manipulate library names on Windows + Clang
2021-12-22 08:53:03 +01:00
Pawel Paruzel
c824d3d57a
Fix all macOS clang warnings
...
Co-authored-by: binary1248 <binary1248@hotmail.com>
2021-12-20 00:10:55 +01:00
Pawel Paruzel
aae00e9002
Fix cmake -DWARNINGS_AS_ERRORS=1 for clang
2021-12-20 00:10:55 +01:00
Vittorio Romeo
6cf124db66
Fix remaining warnings
...
- Fixes in examples
- Fixes across all the modules
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
01836ccea4
Fix conversion warnings for the Graphics module
...
- Fix conversion and shadowing warnings
- Add SYSTEM indicator for stb_*, FreeType and other headers
2021-11-30 11:25:58 +01:00
binary1248
a759ccd5db
Enable compiler warnings.
2021-11-30 11:25:58 +01:00
Chris Ohk
eeeda74ec1
Add support for Visual Studio 2022
...
- References: https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2017%202022.html
2021-08-23 22:34:04 +02:00
Lukas Dürrenberger
9e27096c37
Fix configuration conflicts with Clang
...
- On Windows you can use Clang with both MSVC and MinGW
- When using Clang with MSVC all the MSVC conditions should be fulfilled
- When using Clang with MinGW all the MSVC steps should not be run
2021-05-10 12:20:48 +02:00
Marty E. Plummer
6ad96cf9b7
windows: add resource.rc files to dll builds
...
Windows uses a mechanism known as 'resource files' which provides, among
other things, metadata to a given executable/dll/driver/etc, and add a
layer of polish to a project which it would otherwise lack.
2021-04-11 16:02:51 +02:00
David Carlier
4cbb34ddb4
NetBSD support proposal.
2020-12-07 16:08:00 +01:00
Corentin Schreiber
0d82b99c7d
Added missing dependency on Xcursor in SFMLConfigDependencies.cmake.in
2020-09-13 20:35:48 +02:00
Jan Hahlganß
1d20edebc7
SFMLConfigDependencies.cmake.in: Vorbis uppercase
2020-01-24 08:56:13 +01: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
kimci86
80c3bdc23c
Fix CMake scripts to install and find doxygen's generated SFML.tag file
2019-11-19 09:26:49 +01:00
Jonny
27a4c83ebc
Use GnuInstallDirs module for cmake install paths
2019-09-01 21:48:10 +02:00
Lukas Dürrenberger
7e7216f598
Renamed test targets to test-sfml-module structure
2019-02-19 10:16:38 +01:00
=
53972ed5f2
Use sfml_add_test macro for unit tests and copy dlls to output directory if required
2019-02-19 10:16:38 +01:00
Jonny Paton
d53858afb1
Removed incompatible cmake/catch functionality, replaced with vanilla cmake
2019-02-19 10:16:38 +01:00
Jonny Paton
d3a072fb63
Use modern cmake testing functionality including catch integration
2019-02-19 10:16:38 +01:00
Jonny Paton
353c846c87
Update examples for iOS including touch support, proper handling of window resize, launch screens and icons
2019-01-19 01:34:30 +01:00
Ceylo
82c2f4c05e
All mobile-compatible examples now successfully link
2019-01-19 01:29:12 +01:00
=
195f5d7409
Removed old android cmake toolchain
2019-01-09 15:22:49 +00:00
Elias Daler
b81de898bf
Modify install rpath only if BUILD_SHARED_LIBS is ON
2018-12-03 19:39:19 +01:00
Elias Daler
fbc0f17198
Fix RPATH for installed examples on Linux
2018-12-03 19:39:19 +01:00
Kwasior
43f0292cb8
Fix audio components linking order
2018-08-14 14:59:57 +02:00
Lukas Dürrenberger
9712bb1ec8
Fixed the installation of pkg-config files
...
* Removed duplicated CMake code
* Made it possible to manually specify the pkg-config path
* Install pkg-config files by default on Linux and BSD systems
2018-08-13 22:46:20 +02:00
Jonny Paton
ac38b17827
Fix config for finding dependencies on iOS
2018-07-28 18:30:25 +02:00
Ceylo
ff011dc51d
Modernize iOS toolchain: remove BUILD_ARM64, drop support for Xcode <4.3 and don't pretend defining official CMake variables
2018-06-04 23:22:21 +02:00
James Cowgill
88bb3f89a5
Install CMake config files into lib${LIB_SIFFIX}
2018-05-18 22:05:48 +02:00
Marty E. Plummer
c828314d12
cmake/Macros.cmake: ex:->examples:
...
vim interprets the # ex: comments as a modeline, which causes editing
this file with vim to throw an error.
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
2018-05-18 21:50:25 +02:00
Mario Liebisch
2cd4797557
Examples: Set startup folder for debugging in Visual Studio
2018-04-14 11:02:21 +02:00
David Carlier
9da895da8b
further changes
2018-04-14 10:14:34 +02:00
David Carlier
4d0d331272
pushing upstream openbsd support from package.
2018-04-14 10:14:34 +02:00
Jonny Paton
7be2111d61
Add iOS demo
2018-03-26 18:42:19 -07:00
Ceylo
09e24adf2e
Remove FindSFML.cmake
2018-03-27 00:03:34 +02:00
Ceylo
a94b3e9e24
Add support for SFMLConfig.cmake
2018-03-27 00:03:34 +02:00
Ceylo
ee08e18726
Modernize CMake files
2018-03-27 00:03:34 +02:00
Ceylo
8b7a50a914
Fix CMake warning on macOS since CMake 3.9
2018-03-12 15:09:59 +01:00
Jonny Paton
910458cfb3
Remove references to SIMULATOR64, as 32 bit is no longer available
2018-03-12 15:04:30 +01:00
Jonny Paton
b196aac5c7
Drop 32 bit support on iOS
2018-03-12 15:04:29 +01:00