summaryrefslogtreecommitdiff
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-03-15 12:52:29 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-03-31 08:29:58 +0000
commit280c2958f2a03bdc16b99851230c935cdd65e91b (patch)
tree73c31b48427c57f0ee8839101f1d8680ba2c80fe /CMakeOptions.txt
parent0973a321a9836331cd7863a5c1aad77e2bf8126b (diff)
downloadwireshark-280c2958f2a03bdc16b99851230c935cdd65e91b.tar.gz
Add --enable-extra-clang-checks for autotools and CMakeList
With -Wunreachable-code flags (and disable for the moment -Wdocumentation) Change-Id: I126c962b32e650a63b78092e95896736ae7335c9 Reviewed-on: https://code.wireshark.org/review/678 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index dad0217b71..26fd117957 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -20,6 +20,7 @@ option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF)
option(DISABLE_WERROR "Do not treat Warnings as errors" OFF)
option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" OFF)
+option(ENABLE_EXTRA_CLANG_CHECKS "Do additional -W checks in Clang (disables -Werror)" OFF)
option(ENABLE_GTK3 "Use GTK3 instead of GTK2 to build wireshark" ON)
option(ENABLE_QT5 "Use Qt5 instead of Qt4 to build qtshark" ON)
option(ENABLE_PCAP "Enable libpcap support (required for capturing)" ON)