X11 (doc): now more of 200Mb for mesa git repo
[metze/wireshark/wip.git] / CMakeOptions.txt
index 00209b15f4f83b13d9d798239dd79e849be29b48..f986a393644339eb2751168a6604e657dc2982f1 100644 (file)
@@ -14,11 +14,16 @@ option(BUILD_capinfos      "Build capinfos" ON)
 option(BUILD_captype       "Build captype" ON)
 option(BUILD_randpkt       "Build randpkt" ON)
 option(BUILD_dftest        "Build dftest" ON)
+option(BUILD_androiddump   "Build androiddump" ON)
 option(AUTOGEN_dcerpc      "Autogenerate DCE RPC dissectors" OFF)
 option(AUTOGEN_pidl        "Autogenerate pidl dissectors" OFF)
 
 option(DISABLE_WERROR    "Do not treat warnings as errors" OFF)
+option(EXTCAP_ANDROIDDUMP_LIBPCAP    "Build androiddump using libpcap" OFF)
 option(ENABLE_EXTRA_COMPILER_WARNINGS "Do additional compiler warnings (disables -Werror)" OFF)
+option(ENABLE_CODE_ANALYSIS "Enable the compiler's static analyzer if possible" OFF)
+option(ENABLE_ASAN "Enable AddressSanitizer (ASAN) for debugging (May be slow down)" OFF)
+
 #
 # Leave GTK2 the default on Windows, looks better than GTK3
 #
@@ -46,7 +51,9 @@ option(ENABLE_STATIC     "Build a static version of Wireshark (not yet working)"
 option(ENABLE_ECHLD      "Enable echld support" OFF)
 option(ENABLE_PLUGINS    "Build with plugins" ON)
 option(ENABLE_EXTCAP     "Build with extcap hooks" ON)
-option(ENABLE_GUIDES     "Build Guides" OFF)
+option(ENABLE_HTML_GUIDES       "Build HTML User & Developer Guides" OFF)
+option(ENABLE_PDF_GUIDES        "Build PDF User & Developer Guides" OFF)
+option(ENABLE_CHM_GUIDES        "Build HTML Help User & Developer Guides" OFF)
 option(ENABLE_PCAP_NG_DEFAULT  "Enable pcap-ng as default file format" ON)
 
 option(ENABLE_ADNS       "Build with adns support" ON)
@@ -64,8 +71,13 @@ else()
 endif()
 option(ENABLE_CAP        "Build with Posix capabilities support" ON)
 option(ENABLE_CARES      "Build with c-ares support" ON)
+#
+# Libnl is Linux-specific.
+#
 if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
        option(ENABLE_NETLINK    "Build with libnl support" ON)
+else()
+       option(ENABLE_NETLINK    "Build with libnl support" OFF)
 endif()
 # todo Mostly hardcoded
 option(ENABLE_KERBEROS   "Build with Kerberos support" ON)
@@ -74,3 +86,8 @@ option(ENABLE_SBC        "Build with SBC Codec support in RTP Player" ON)
 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})
+if(APPLE)
+       option(ENABLE_APPLICATION_BUNDLE "Build a Mac OS X application bundle (Wireshark.app)" ON)
+else()
+       option(ENABLE_APPLICATION_BUNDLE "Build a Mac OS X application bundle (Wireshark.app)" OFF)
+endif()