Files
devilutionX/CMake/functions
Gleb Mazovetskiy cbf5ab385d CMake: Clean up option definitions (#4771)
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`.
2022-07-01 17:09:11 +02:00
..
2021-12-07 18:32:25 +01:00