akallabeth
8d97de1b40
[cmake,compiler] add -fsigned-char to compiler flags
2026-01-10 09:37:19 +01:00
Armin Novak
6c0fd3204c
[clang,warn] disable -Wimplicit-void-ptr-cast
...
Since this is a C project casts from and to void* are used to type
convert. Do not warn about this.
2026-01-08 09:32:55 +01:00
akallabeth
6ddc268eda
[cmake] drop -Wno-used-but-marked-unused
...
__attribute__((unused)) does emit that warning if a variable is used.
The C23/C++17 version [[maybe_unused]] does not, so drop the warning to
have consistency
2025-02-13 13:31:44 +01:00
akallabeth
0ae7c4b52d
[cmake] refactor configuration
...
* Split common stuff to reusable files
* Disable INTERPROCEDURAL_OPTIMIZATION for SDL2/3 resource targets
2025-02-11 11:33:34 +01:00