projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbdfd14
)
Stop build process if a warning shows up
author
Reto Schneider <github@reto-schneider.ch>
Sat, 21 Jan 2012 15:15:50 +0000
(16:15 +0100)
committer
Reto Schneider <github@reto-schneider.ch>
Sat, 21 Jan 2012 15:15:50 +0000
(16:15 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
199bc80
..
8c9b1c1
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-45,6
+45,7
@@
if (CMAKE_COMPILER_IS_GNUCC)
add_flags(CMAKE_C_FLAGS
-fno-common
-Wall
+ -Werror
-Wextra
-Wformat=2
-Winit-self