-Wextra and -Wpedantic

This commit is contained in:
Marcin
2025-03-18 13:24:23 +00:00
parent 6e2976d415
commit c1ea9e7a69

View File

@@ -44,7 +44,7 @@ if(MSVC)
endforeach(flag_var)
endif()
else()
add_compile_options(-Wall)
add_compile_options(-Wall -Wextra -Wpedantic)
if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
add_compile_options(-O3)