aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-31 20:11:01 +0200
committerAdam <adammegarules1@gmail.com>2026-07-31 20:11:01 +0200
commitee7815bad917cf880c147186a01679fb7ce46a8e (patch)
treeb645ea43ae002c1cc6cca37106b665390358f1b5 /CMakeLists.txt
parent061f2af803f7abfb4f655ef67769e79db705a3e1 (diff)
making stricter cmake list and then fixing bug it found
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78560ef..b8a0602 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,21 @@ else()
-Wextra
-Wpedantic
-Werror
+
+ -Wshadow
+ -Wnon-virtual-dtor
+ -Wold-style-cast
+ -Wcast-align
+ -Wunused
+ -Woverloaded-virtual
+ -Wconversion
+ -Wsign-conversion
+ -Wnull-dereference
+ -Wdouble-promotion
+ -Wformat=2
+
+ -Wimplicit-fallthrough
+ -Wmisleading-indentation
)
endif()