20 Commits

Author SHA1 Message Date
Chris Thrasher
fef1e09542 Prefix library options with CSFML_ 2024-09-24 15:08:30 -06:00
Chris Thrasher
02d6d4937a Use modern CMake property to handle static runtime linking with MSVC
See https://github.com/SFML/SFML/pull/1834
2024-09-08 08:49:13 -06:00
Chris Thrasher
055e69520f Support building CSFML as static libraries
Some languages can make use of C foreign function interfaces
compiled as static libraries so it's a good idea for CSFML to
support this use case.
2024-09-07 15:17:05 -06:00
Chris Thrasher
330b423ee9 Add unit tests
Yay tests!
2024-04-15 15:24:51 -06:00
Chris Thrasher
5e3d87858f Set compiler warnings on a per-target basis 2024-03-29 09:58:28 -05:00
Chris Thrasher
c7ac60f312 Require C11
This required silencing C5105 which emits warnings about system
headers which we can't change.

https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5105?view=msvc-170
2024-02-19 23:30:30 +01:00
Chris Thrasher
a51c22a7a3 Use C standard library utilities for booleans and fixed-width ints 2024-02-19 23:30:30 +01:00
Chris Thrasher
2273672415 Remove workarounds for old compilers 2024-02-19 23:30:30 +01:00
Chris Thrasher
942f23ca0b Require C++17 2024-02-19 23:30:30 +01:00
Chris Thrasher
1c4aba1d43 Always specify link visibility 2023-12-21 14:39:18 -06:00
Chris Thrasher
9a355d784b Remove trailing whitespace 2023-12-21 14:39:18 -06:00
Chris Thrasher
d536b3d2cc Use SFML 2.6's set of compiler warnings
Some minor tweaks were made to remove Android-specific workarounds
that CSFML doesn't need and removing a few warnings that are not
feasible to fix at the moment.
2023-07-08 11:01:11 -06:00
Chris Thrasher
39d7c47f04 Ensure public header path gets propagated to downstream targets 2023-04-19 07:57:03 +02:00
Chris Thrasher
fbf4b000ef Use built-in project version variables 2023-02-21 00:00:23 +01:00
Dmitry Maganov
448949ef7a fix rpath for OS X 2015-05-19 22:42:38 +06:00
Lukas Dürrenberger
aad6f7b2d1 Updated CSFML's version to 2.2.0. 2015-02-28 11:25:49 +01:00
Laurent Gomila
bc9ae12596 Added missing include in CMake file 2013-11-24 20:27:42 +01:00
Laurent Gomila
6669a6590a Updated build files to reflect the latest changes in SFML 2013-11-04 22:39:52 +01:00
Laurent Gomila
0c5afa3483 Each module now has its own export macro 2012-02-02 22:02:39 +01:00
Laurent Gomila
45d3b05d65 Initial commit -- moved from https://github.com/LaurentGomila/SFML (bindings/c) 2011-07-06 22:39:55 +02:00