Added -Wextra
This commit is contained in:
parent
2a78ecf97e
commit
6da2d2bb21
@ -183,7 +183,7 @@ macro(set_exe_flags)
|
||||
string(REPLACE "-w" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
|
||||
string(REPLACE "-w" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
||||
string(REPLACE "-w" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
|
||||
add_flags_cxx("-Wall")
|
||||
add_flags_cxx("-Wall -Wextra")
|
||||
endif()
|
||||
|
||||
endmacro()
|
||||
|
Loading…
Reference in New Issue
Block a user