Commit Graph
26 Commits
Author SHA1 Message Date
Lukas Dürrenberger 2ec9764ac4 Add options to select the modules to build 2024-05-18 15:44:02 +02: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
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