epan/dissectors/packet-xml.c try to decrypt data, but the data doesn't look correct yet
[metze/wireshark/wip.git] / CMakeOptions.txt
index dc262ff7764722856fcaf6156307c0dd2fd6a458..f4d4ce1f3117b308f39af6e3e43c117ced7b5e5f 100644 (file)
@@ -1,7 +1,6 @@
 # Build options for use by CMake
 
 option(BUILD_wireshark     "Build Wireshark" ON)
-option(BUILD_wireshark_gtk "Build Wireshark (GTK+ UI)" OFF)
 option(BUILD_tshark        "Build tshark" ON)
 option(BUILD_tfshark       "Build tfshark" OFF)
 option(BUILD_rawshark      "Build rawshark" ON)
@@ -17,13 +16,26 @@ option(BUILD_dftest        "Build dftest" ON)
 option(BUILD_corbaidl2wrs  "Build corbaidl2wrs" OFF)
 option(BUILD_dcerpcidl2wrs "Build dcerpcidl2wrs" ON)
 option(BUILD_xxx2deb       "Build xxx2deb" OFF)
+
 option(BUILD_androiddump   "Build androiddump" ON)
 option(BUILD_sshdump       "Build sshdump" ON)
 option(BUILD_ciscodump     "Build ciscodump" ON)
+option(BUILD_dpauxmon      "Build dpauxmon" ON)
 option(BUILD_randpktdump   "Build randpktdump" ON)
+if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+       option(BUILD_sdjournal   "Build sdjournal" ON)
+else()
+       option(BUILD_sdjournal   "Build sdjournal" OFF)
+endif()
 option(BUILD_udpdump       "Build udpdump" ON)
+
 option(BUILD_sharkd        "Build sharkd" ON)
-option(BUILD_fuzzshark     "Build fuzzshark" ON)
+if(WIN32)
+       option(BUILD_fuzzshark     "Build fuzzshark" OFF)
+else()
+       option(BUILD_fuzzshark     "Build fuzzshark" ON)
+endif()
+option(BUILD_mmdbresolve   "Build MaxMind DB resolver" ON)
 
 option(DISABLE_WERROR    "Do not treat warnings as errors" OFF)
 option(DISABLE_FRAME_LARGER_THAN_WARNING "Disable warning if the size of a function frame is large" OFF)
@@ -33,18 +45,10 @@ option(ENABLE_CODE_ANALYSIS "Enable the compiler's static analyzer if possible"
 option(ENABLE_ASAN "Enable AddressSanitizer (ASAN) for debugging (degrades performance)" OFF)
 option(ENABLE_TSAN "Enable ThreadSanitizer (TSan) for debugging" OFF)
 option(ENABLE_UBSAN "Enable UndefinedBehaviorSanitizer (UBSan) for debugging" OFF)
+option(ENABLE_FUZZER "Enable libFuzzer instrumentation for use with fuzzshark" OFF)
 option(ENABLE_CHECKHF_CONFLICT "Enable hf conflict check for debugging (start-up may be slower)" OFF)
 option(ENABLE_CCACHE "Speed up compiling and linking using ccache if possible" OFF)
 
-#
-# Leave GTK2 the default on Windows, looks better than GTK3
-#
-if(WIN32)
-       option(ENABLE_GTK3       "Use GTK3 instead of GTK2 to build wireshark" OFF)
-else()
-       option(ENABLE_GTK3       "Use GTK3 instead of GTK2 to build wireshark" ON)
-endif()
-option(ENABLE_QT5        "Use Qt5 instead of Qt4 to build wireshark" ON)
 option(ENABLE_PCAP       "Enable libpcap support (required for capturing)" ON)
 #
 # AirPcap support is available only on Windows.  It might be nice to have it
@@ -57,23 +61,15 @@ endif()
 option(ENABLE_STATIC            "Build Wireshark libraries statically" OFF)
 option(ENABLE_PLUGINS           "Build with plugins" ON)
 option(ENABLE_PLUGIN_IFDEMO     "Build with plugin interface demo" OFF)
-option(ENABLE_EXTCAP            "Build with extcap hooks" ON)
-option(ENABLE_HTML_GUIDES       "Build HTML User & Developer Guides" OFF)
-option(ENABLE_PDF_GUIDES        "Build PDF User & Developer Guides" OFF)
-if(WIN32)
-       option(ENABLE_CHM_GUIDES        "Build HTML Help User & Developer Guides" OFF)
-endif()
-option(ENABLE_PCAP_NG_DEFAULT   "Enable pcap-ng as default file format" ON)
+option(ENABLE_PCAP_NG_DEFAULT   "Enable pcapng as default file format" ON)
 
-option(ENABLE_PORTAUDIO  "Build with PortAudio support" ON)
 option(ENABLE_ZLIB       "Build with zlib compression support" ON)
 option(ENABLE_LZ4        "Build with LZ4 compression support" ON)
 option(ENABLE_SNAPPY     "Build with Snappy compression support" ON)
 option(ENABLE_NGHTTP2    "Build with HTTP/2 header decompression support" ON)
 option(ENABLE_LUA        "Build with Lua dissector support" ON)
 option(ENABLE_SMI        "Build with libsmi snmp support" ON)
-option(ENABLE_GNUTLS     "Build with GNU TLS support" ON)
-option(ENABLE_GEOIP      "Build with GeoIP support" ON)
+option(ENABLE_GNUTLS     "Build with RSA decryption support" ON)
 if(WIN32)
        option(ENABLE_WINSPARKLE "Enable WinSparkle support" ON)
 endif()
@@ -93,10 +89,16 @@ option(ENABLE_SBC        "Build with SBC Codec support in RTP Player" ON)
 option(ENABLE_SPANDSP    "Build with G.722/G.726 codecs support in RTP Player" ON)
 option(ENABLE_BCG729     "Build with G.729 codec support in RTP Player" ON)
 option(ENABLE_LIBXML2    "Build with libxml2 support" ON)
+
 # How to install
 set(DUMPCAP_INSTALL_OPTION   "normal" CACHE STRING "Permissions to install")
-set(DUMPCAP_INST_VALS "normal" "suid" "capabilities")
-set_property(CACHE DUMPCAP_INSTALL_OPTION PROPERTY STRINGS ${DUMPCAP_INST_VALS})
+set_property(CACHE DUMPCAP_INSTALL_OPTION PROPERTY STRINGS "normal" "suid" "capabilities")
+
+if(UNIX)
+       option(ENABLE_DUMPCAP_GROUP "Install dumpcap with group ownership and permissions (default \"wireshark\")" OFF)
+       set(DUMPCAP_INSTALL_GROUP "wireshark" CACHE STRING "Group name for dumpcap (must exist)")
+endif()
+
 if(APPLE)
        option(ENABLE_APPLICATION_BUNDLE "Build a macOS application bundle (Wireshark.app)" ON)
 endif()