1
0

Added -Wextra

This commit is contained in:
Tycho 2014-02-16 07:04:44 -08:00
parent 2a78ecf97e
commit 6da2d2bb21

View File

@ -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()