enable -Wall and -Wextra

This commit is contained in:
Yuichi Nishiwaki 2014-03-02 12:32:59 +09:00
parent 4a8bacd12c
commit 0805d421f5
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ execute_process(
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
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")
# external libraries