enable -Wall and -Wextra
This commit is contained in:
parent
4a8bacd12c
commit
0805d421f5
|
@ -10,7 +10,7 @@ execute_process(
|
||||||
|
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
|
||||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
|
||||||
set(CMAKE_C_FLAGS "-std=c99")
|
set(CMAKE_C_FLAGS "-Wall -Wextra -std=c99")
|
||||||
set(CMAKE_C_FLAGS_DEBUG "-DDEBUG=1")
|
set(CMAKE_C_FLAGS_DEBUG "-DDEBUG=1")
|
||||||
|
|
||||||
# external libraries
|
# external libraries
|
||||||
|
|
Loading…
Reference in New Issue