Copy over r51462 from trunk:
[metze/wireshark/wip.git] / CMakeOptions.txt
1 # Build options for use by CMake
2
3 # $Id$
4
5 option(BUILD_wireshark   "Build the GTK+-GUI version of Wireshark" ON)
6 option(BUILD_qtshark     "Build the Qt-GUI version of Wireshark" OFF)
7 option(BUILD_tshark      "Build tshark" ON)
8 option(BUILD_rawshark    "Build rawshark" ON)
9 option(BUILD_dumpcap     "Build dumpcap" ON)
10 option(BUILD_text2pcap   "Build text2pcap" ON)
11 option(BUILD_mergecap    "Build mergecap" ON)
12 option(BUILD_reordercap  "Build reordercap" ON)
13 option(BUILD_editcap     "Build editcap" ON)
14 option(BUILD_capinfos    "Build capinfos" ON)
15 option(BUILD_randpkt     "Build randpkt" ON)
16 option(BUILD_dftest      "Build dftest" ON)
17 option(AUTOGEN_dcerpc    "Autogenerate DCE RPC dissectors" OFF)
18 option(AUTOGEN_pidl      "Autogenerate pidl dissectors" OFF)
19
20 option(DISABLE_WERROR    "Do not treat Warnings as errors" OFF)
21 option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" OFF)
22 option(ENABLE_GTK3       "Use GTK3 instead of GTK2 to build wireshark" ON)
23 option(ENABLE_QT5        "Use Qt5 instead of Qt4 to build qtshark" OFF)
24 option(ENABLE_PCAP       "Enable libpcap support (required for capturing)" ON)
25 #
26 # Do not make this the default on UN*X; AirPcap support is available
27 # only on Windows.  It might be nice to have it, on Windows, check
28 # whether the AirPcap SDK is available, and turn AirPcap support on
29 # only if it is.
30 #
31 option(ENABLE_AIRPCAP    "Enable AirPcap support" OFF)
32 # todo
33 option(ENABLE_STATIC     "Build a static version of Wireshark (not yet working)" OFF)
34 option(ENABLE_ECHLD      "Enable echld support" OFF)
35 option(ENABLE_PLUGINS    "Build with plugins" ON)
36 option(ENABLE_GUIDES     "Build Guides" OFF)
37 option(ENABLE_PCAP_NG_DEFAULT   "Enable pcap-ng as default file format" ON)
38
39 option(ENABLE_ADNS       "Build with adns support" ON)
40 option(ENABLE_PORTAUDIO  "Build with PortAudio support" ON)
41 option(ENABLE_ZLIB       "Build with zlib compression support" ON)
42 option(ENABLE_LUA        "Build with Lua dissector support" ON)
43 option(ENABLE_PYTHON     "Build with Python dissector support" OFF)
44 option(ENABLE_SMI        "Build with libsmi snmp support" ON)
45 option(ENABLE_GNUTLS     "Build with GNU TLS support" ON)
46 option(ENABLE_GCRYPT     "Build with GNU crypto support" ON)
47 option(ENABLE_GEOIP      "Build with GeoIP support" ON)
48 option(ENABLE_CAP        "Build with Posix capabilities support" ON)
49 option(ENABLE_CARES      "Build with c-ares support" ON)
50 option(ENABLE_NETLINK    "Build with libnl support" ON)
51 # todo Mostly hardcoded
52 option(ENABLE_KERBEROS   "Build with Kerberos support" ON)