mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
[cmake] Add -Wextra compiler warnings globally
This commit is contained in:
parent
bb518a3e4c
commit
87a67e8d06
@ -18,7 +18,9 @@ set(BUILD_SHARED_LIBS OFF)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Enable compiler warnings for the whole project
|
||||
add_compile_options(-Wall
|
||||
add_compile_options(
|
||||
-Wall
|
||||
-Wextra
|
||||
$<$<CONFIG:Debug>:-Og>
|
||||
$<$<CONFIG:Debug>:-ggdb3>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user