Add -Wall to compiler flags
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
if(NOT DEFINED ENV{CFLAGS})
|
||||
if(CMAKE_C_COMPILER_ID MATCHES GNU)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
|
||||
set(CMAKE_C_FLAGS_RELEASE "-O3")
|
||||
set(CMAKE_C_FLAGS_DEBUG "-O0 -g")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user