projects
/
project
/
libnl-tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmake: enable extra compiler checks
[project/libnl-tiny.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index a81727dc1b60de2f05b0f6bf951faf71f59a4b11..10bf4e8558b6614cd4c35927db287dc092db49a4 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-5,7
+5,7
@@
INCLUDE(GNUInstallDirs)
INCLUDE_DIRECTORIES(include)
-ADD_DEFINITIONS(-Wall -Werror)
+ADD_DEFINITIONS(-Wall -Werror
-Wextra -Wno-unused-parameter
)
STRING(REPLACE "-DNDEBUG" "" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
ADD_LIBRARY(nl-tiny SHARED