File: CMakeOptions.txt

package info (click to toggle)
wireshark 1.12.1+g01b65bf-4+deb8u14
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 234,068 kB
  • sloc: ansic: 1,912,971; xml: 84,598; cpp: 41,923; python: 30,175; perl: 25,286; lex: 6,416; sh: 6,406; pascal: 6,120; makefile: 3,968; yacc: 297; asm: 156; awk: 58; tcl: 35
file content (71 lines) | stat: -rw-r--r-- 3,265 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Build options for use by CMake

option(BUILD_wireshark   "Build the GTK+-GUI version of Wireshark" ON)
option(BUILD_qtshark     "Build the Qt-GUI version of Wireshark" ON)
option(BUILD_tshark      "Build tshark" ON)
option(BUILD_tfshark     "Build tfshark" ON)
option(BUILD_rawshark    "Build rawshark" ON)
option(BUILD_dumpcap     "Build dumpcap" ON)
option(BUILD_text2pcap   "Build text2pcap" ON)
option(BUILD_mergecap    "Build mergecap" ON)
option(BUILD_reordercap  "Build reordercap" ON)
option(BUILD_editcap     "Build editcap" ON)
option(BUILD_capinfos    "Build capinfos" ON)
option(BUILD_randpkt     "Build randpkt" ON)
option(BUILD_dftest      "Build dftest" 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" ON)
option(ENABLE_EXTRA_COMPILER_WARNINGS "Do additional compiler warnings (disables -Werror)" 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 qtshark" ON)
option(ENABLE_PCAP       "Enable libpcap support (required for capturing)" ON)
option(WANT_PACKET_EDITOR	"Enable packet editor (experimental)" ON)
#
# Do not make this the default on UN*X; AirPcap support is available
# only on Windows.  It might be nice to have it, on Windows, check
# whether the AirPcap SDK is available, and turn AirPcap support on
# only if it is.
#
if(WIN32)
	option(ENABLE_AIRPCAP    "Enable AirPcap support" ON)
else()
	option(ENABLE_AIRPCAP    "Enable AirPcap support" OFF)
endif()
# todo
option(ENABLE_STATIC     "Build a static version of Wireshark (not yet working)" OFF)
option(ENABLE_ECHLD      "Enable echld support" OFF)
option(ENABLE_PLUGINS    "Build with plugins" ON)
option(ENABLE_GUIDES     "Build Guides" OFF)
option(ENABLE_PCAP_NG_DEFAULT	"Enable pcap-ng as default file format" ON)

option(ENABLE_ADNS       "Build with adns support" ON)
option(ENABLE_PORTAUDIO  "Build with PortAudio support" ON)
option(ENABLE_ZLIB       "Build with zlib compression support" ON)
option(ENABLE_LUA        "Build with Lua dissector support" ON)
option(ENABLE_PYTHON     "Build with Python dissector support" OFF)
option(ENABLE_SMI        "Build with libsmi snmp support" ON)
option(ENABLE_GNUTLS     "Build with GNU TLS support" ON)
option(ENABLE_GCRYPT     "Build with GNU crypto support" ON)
option(ENABLE_GEOIP      "Build with GeoIP support" ON)
option(ENABLE_CAP        "Build with Posix capabilities support" ON)
option(ENABLE_CARES      "Build with c-ares support" ON)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
	option(ENABLE_NETLINK    "Build with libnl support" ON)
endif()
# todo Mostly hardcoded
option(ENABLE_KERBEROS   "Build with Kerberos support" ON)
option(ENABLE_SBC        "Build with SBC Codec support in RTP Player" 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})