Chris Thrasher
14378de263
Upgrade to clang-format-17
2024-11-01 15:03:09 -06:00
Chris Thrasher
fef1e09542
Prefix library options with CSFML_
2024-09-24 15:08:30 -06:00
Chris Thrasher
a430c713e3
Remove redundant definition
...
This is already inherited as a usage requirement when linking to
SFML's CMake targets.
2024-09-11 16:17:14 -06:00
Chris Thrasher
574c6afe05
Use ON and OFF for CMake booleans
2024-09-11 14:36:23 -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
10aaee1290
Add tests for sfSocketStatus
2024-09-02 20:04:06 -06:00
Chris Thrasher
42aec92642
Add format target for running clang-format
2024-09-01 11:32:18 -06:00
Chris Thrasher
3316223629
Add tidy target for running clang-tidy
2024-08-25 14:18:36 -06:00
Chris Thrasher
c5158c77b4
Move CSFML source files to CSFML/ directory
...
This helps make it easier to distinguish SFML files from CSFML files.
This is especially important for CSFML private headers which are
often C++ code with .hpp file extensions. This change means SFML and
CSFML can use headers with the same name without conflict.
2024-08-24 14:05:06 -06:00
Lukas Dürrenberger
315c207797
Merge branch '2.6.x' into feature/backmerge
2024-05-18 23:40:59 +02:00
Lukas Dürrenberger
2ec9764ac4
Add options to select the modules to build
2024-05-18 15:44:02 +02:00
Chris Thrasher
330b423ee9
Add unit tests
...
Yay tests!
2024-04-15 15:24:51 -06:00
Chris Thrasher
fce7450bbf
Merge branch '2.6.x' into feature/backmerge
2024-03-30 20:44:49 -05:00
kimci86
16ae40d383
Include GNUInstallDirs to define CMAKE_INSTALL_LIBDIR
...
The variable CMAKE_INSTALL_LIBDIR is used to define CSFML_PKGCONFIG_DIR
variable in cmake/Config.cmake file.
Copy-pasted from SFML's CMakeLists.txt file.
2024-02-25 22:15:31 +01:00
kimci86
ad9edb0256
Use relative install path for pkgconfig files
...
It is recommended in CMake's official documentation to use relative path
for DESTINATION parameter. Using absolute paths do not work with the
cmake --install command's --prefix option.
2024-02-25 22:15:31 +01:00
Chris Thrasher
f9cf6b935a
Increase CMake requirement
2024-02-19 23:30:30 +01:00
Chris Thrasher
5b446077e6
Update project version
2024-02-19 23:30:30 +01:00
Lukas Dürrenberger
fb9b3aeab7
Update CSFML to 2.6.0
2024-02-04 13:43:43 +01:00
Chris Thrasher
5ccbbdf61b
Remove unnecessary file install exclusion
2023-12-21 14:39:18 -06:00
Chris Thrasher
83b44e3feb
Install contents of include/ instead of include/ itself
2023-12-21 14:39:18 -06:00
Chris Thrasher
bf29112d56
Add example program
2023-12-20 15:33:35 -06:00
Corentin Noël
6476e9442e
Add pkg-config files, optionally installed by CMake on Linux builds
...
The modules provided are:
- csfml-system
- csfml-graphics
- csfml-window
- csfml-audio
- csfml-network
- csfml-all (depends on all the above modules)
They are installed to the standard location for pkg-config files on Linux.
This is adapted from SFML own pkg-config files.
2023-06-27 12:59:34 +02:00
Lukas Dürrenberger
d270e9a513
Update CSFML version to 2.5.2
2023-06-09 19:48:52 +02:00
Chris Thrasher
39d7c47f04
Ensure public header path gets propagated to downstream targets
2023-04-19 07:57:03 +02:00
Chris Thrasher
3a88df2c38
Match SFML 2.6.0's CMake version requirement
2023-02-21 00:00:23 +01:00
Chris Thrasher
fbf4b000ef
Use built-in project version variables
2023-02-21 00:00:23 +01:00
brightprogrammer
980a165dc9
Use CMAKE_SOURCE_DIR instead of PROJECT_SOURCE_DIR
...
Change minimum CMake version
2022-03-17 08:58:01 +01:00
Lukas Dürrenberger
1d05e82f25
Use Markdown for the readme and license files
2021-07-13 09:00:43 +02:00
Lukas Dürrenberger
f84ff413a1
Update CSFML version to 2.5.1
...
- Add macOS build script
- Update existing nuget build script
2021-07-11 16:54:41 +02:00
Zachariah Brown
bff4a69a73
Fixed an issue where it was impossible to link against static SFML libs on non Windows platforms
2018-10-06 20:46:13 +02:00
spacechase0
7ef69e3b1c
Update for 2.5.0
2018-06-05 14:05:52 -04:00
Alec Iverson
6ec6c104a8
Bumped CMakeLists.txt version to 2.4.
2016-09-30 09:12:57 -07:00
Zachariah Brown
33bf91a1da
Bumped version number to 2.3 and updated readme.txt
2015-05-07 08:43:08 -04:00
Lukas Dürrenberger
aad6f7b2d1
Updated CSFML's version to 2.2.0.
2015-02-28 11:25:49 +01:00
Zachariah Brown
4e509ff160
Added option to allow SFML to be linked dynamically
2014-06-06 16:38:20 -04:00
Lukas Dürrenberger
b465c53afe
Renamed a few missed variables when the config filehad been updated.
2014-04-11 02:57:30 +02:00
Laurent Gomila
6669a6590a
Updated build files to reflect the latest changes in SFML
2013-11-04 22:39:52 +01:00
Laurent Gomila
bd0faf69c5
Updated version number
2013-07-21 09:30:53 +02:00
Laurent Gomila
c7cabf8fb2
Added readme.txt to the install rules
2013-05-03 13:32:17 +02:00
Laurent Gomila
45d3b05d65
Initial commit -- moved from https://github.com/LaurentGomila/SFML (bindings/c)
2011-07-06 22:39:55 +02:00