SDL/cmake
Pino Toscano 171885010d Add GNU/Hurd as platform
SDL has been building on GNU/Hurd for a long time, using either drivers
based on external libraries (e.g. X11, pulseaudio, sndio, etc) or dummy
drivers. This commit introduces it explicitly as platform, so it can be
recognized, and tweaked as needed. In particular:
- introduce the SDL_PLATFORM_HURD define
- tighten/improve the platform detection in cmake, and use "Hurd" as
  identifier
- return the platform name in SDL_GetPlatform()
- tweak the CFLAGS/LDFLAGS so pthreads can be used properly
- implement SDL_GetExeName(), using /proc/self/exe as provided by the
  basic Linux-like procfs
- enable GLES 2 in tests (mostly for consistency with Linux)
2025-08-08 12:47:09 -07:00
..
android Add build-release.py updates from satellite libraries 2024-12-08 02:16:02 +01:00
test Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
3rdparty.cmake Remove ARM32 assembly/pixman blitters 2024-07-08 10:53:46 -07:00
cmake_uninstall.cmake.in cmake: declutter root + remove obsolete variables 2022-12-19 09:19:45 -08:00
CPackProjectConfig.cmake.in cmake: add CPack support for creating binary archives 2023-01-31 01:59:21 +01:00
FindFFmpeg.cmake cmake: use *_STATIC_* variables when linking to a static ffmpeg 2023-10-10 03:32:46 -07:00
FindLibUSB.cmake cmake: find libusb through LibUSB cmake module 2024-03-10 09:07:33 -07:00
GetGitRevisionDescription.cmake Fix various typos (docs/build scripts/tests) 2023-07-03 08:35:37 -07:00
GetGitRevisionDescription.cmake.in cmake: generate git hash using GetRevisionDescription CMake module 2023-01-08 18:20:56 +01:00
macros.cmake remove status message for SDL_STATIC_PIC 2025-03-17 07:29:50 -07:00
PkgConfigHelper.cmake cmake: use *_STATIC_* variables when linking to a static ffmpeg 2023-10-10 03:32:46 -07:00
PreseedEmscriptenCache.cmake Add SDL_strpbrk 2024-09-06 01:35:43 +02:00
PreseedMSVCCache.cmake windows: replace shobjidl_core.h usage with shobjidl.h except for when targeting xbox 2025-08-01 17:11:49 -07:00
PreseedNokiaNGageCache.cmake Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
sdl3.pc.in cmake: don't prepend absolute CMAKE_INSTALL_{INCLUDE,LIB}DIR with ${prefix} 2024-09-14 16:21:42 +02:00
SDL3Config.cmake.in cmake: make sure a SDL3 library is present when not using COMPONENTs 2025-03-01 17:54:45 +01:00
SDL3jarTargets.cmake.in cmake: create and install SDL3::Jar target for Android 2023-11-23 02:13:08 +01:00
sdlchecks.cmake Add GNU/Hurd as platform 2025-08-08 12:47:09 -07:00
sdlcommands.cmake Rename cmake/sdltargets.cmake -> cmake/sdlcommands.cmake 2025-04-02 23:55:29 +02:00
sdlcompilers.cmake Implement __chkstk for arm64 2025-01-02 01:15:28 +01:00
sdlcpu.cmake cmake: make SDL_CPU_xxx variable visible when using CMAKE_OSX_ARCHITECTURES 2025-04-03 19:07:24 +02:00
sdlmanpages.cmake cmake: make HEADERS_DIR a required argument of SDL_generate_manpages 2023-09-29 03:42:33 +02:00
sdlplatform.cmake Add GNU/Hurd as platform 2025-08-08 12:47:09 -07:00
xxd.py xxd.py: always write \n line endings 2023-08-13 13:51:31 -07:00