mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-12 18:38:44 -10:00
1. Make the vcpkg hack minimal by only defining the options it needs before `include(Platforms)`. Every dependent option needed by vcpkg has to be recalculated after `include(Platforms)`. This brings the count of such options down to 1 (`PACKET_ENCRYPTION`). 2. `include(Platforms)` before the rest of the options. 3. Group related options together into sections and add comments. 4. Fix `--gc-sections` for C files. Also adds `-Wl,--as-needed`. Note: `PIE` can now be `ON` even if `BUILD_TESTING` is `OFF`.