Files
DevilutionX/Source
Gleb MazovetskiyandClaude Opus 5 9f2ea6b993 Depend on libdevilutionx_sdl2_to_1_2_backports explicitly
DevilutionX::SDL carried libdevilutionx_sdl2_to_1_2_backports, so
linking SDL pulled in our own compatibility shims, and with them
libdevilutionx_strings and libdevilutionx_utils_console. Anything that
only wanted the SDL headers got a chunk of devilutionX behind them.

Drop it from DevilutionX::SDL and let the targets that actually use the
shims say so. That is every target whose objects reference a symbol
defined by sdl2_to_1_2_backports.cpp, found by matching the undefined
symbols in each object library against the ones it defines. Object
libraries do not link, so a missing dependency here is invisible at
build time: the archive reached the executable through whichever target
happened to name it.

The dependency is PUBLIC where one of the target's own headers reaches
utils/sdl2_to_1_2_backports.h and PRIVATE where only its .cpp files do.
libdevilutionx_paths already declared it and is moved to PRIVATE on the
same rule: only utils/paths.cpp includes the header, utils/paths.h does
not.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-08-24 02:28:56 +01:00
..
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-04-03 22:57:48 +02:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2026-04-03 22:57:48 +02:00
2026-08-23 06:08:15 +01:00
2026-04-03 22:57:48 +02:00
2026-08-23 06:08:15 +01:00
2026-01-05 20:14:23 +01:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2022-08-20 23:49:23 +01:00
2025-10-09 01:28:37 +01:00
2023-08-14 01:54:29 +01:00
2024-08-07 23:40:28 +01:00
2024-08-07 02:01:23 +01:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2026-08-23 06:08:15 +01:00
2026-01-05 20:14:23 +01:00
2025-01-09 08:51:55 +00:00
2026-04-03 22:57:48 +02:00
2025-01-09 08:51:55 +00:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2025-12-13 08:32:02 +00:00
2025-01-09 08:51:55 +00:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-04-03 22:57:48 +02:00
2025-05-10 20:01:53 -04:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-04-03 22:57:48 +02:00
2026-03-29 18:57:20 -04:00
2026-08-23 06:08:15 +01:00
2025-01-09 08:51:55 +00:00
2026-03-30 00:14:11 +02:00
2025-10-09 01:28:37 +01:00
2026-08-23 06:08:15 +01:00
2026-03-29 18:57:20 -04:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2025-11-25 04:07:49 +01:00
2026-07-08 13:45:41 -04:00
2023-05-10 13:50:12 +01:00
2026-08-23 06:08:15 +01:00
2026-01-05 20:14:23 +01:00
2026-07-22 00:00:04 +02:00
2026-08-23 06:08:15 +01:00
2026-07-16 05:13:29 +01:00
2026-07-22 00:00:04 +02:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2025-10-09 01:28:37 +01:00
2023-05-10 13:50:12 +01:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2026-07-16 07:56:04 +01:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2026-08-23 06:08:15 +01:00
2026-07-22 00:00:04 +02:00
2025-10-09 01:28:37 +01:00
2026-01-05 20:14:23 +01:00
2026-08-23 06:08:15 +01:00
2026-08-23 06:08:15 +01:00
2023-08-14 01:54:29 +01:00
2025-12-13 08:32:02 +00:00
2026-08-23 06:08:15 +01:00
2025-05-11 04:47:25 +01:00
2026-04-03 22:57:48 +02:00
2023-08-14 01:54:29 +01:00
2026-08-23 06:08:15 +01:00
2025-12-03 18:48:20 -05:00