setup cmake

This commit is contained in:
2025-10-19 20:42:42 +03:00
parent 3611be4276
commit 4429521b15
8 changed files with 32 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Custom warnings setup
if (MSVC)
add_compile_options(/W4 /permissive-)
else()
add_compile_options(-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wsign-conversion)
endif()