2010-05-15 20:41:53 +00:00
|
|
|
# Build options for use by CMake
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
option(BUILD_wireshark "Build the GUI version of Wireshark" ON)
|
|
|
|
option(BUILD_tshark "Build tshark" 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_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 dcerpc dissectors" OFF)
|
|
|
|
option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF)
|
|
|
|
|
2010-09-23 09:08:50 +00:00
|
|
|
option(DISABLE_WERROR "Do not treat Warnings as errors" OFF)
|
2010-05-15 20:41:53 +00:00
|
|
|
option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" OFF)
|
2011-06-17 22:57:02 +00:00
|
|
|
option(ENABLE_GTK3 "Use GTK3 instead of GTK2 (does not compile yet)" OFF)
|
2011-07-12 17:19:17 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
option(ENABLE_AIRPCAP "Enable AirPcap support" OFF)
|
2010-05-15 20:41:53 +00:00
|
|
|
# todo
|
|
|
|
option(ENABLE_STATIC "Build a static version of Wireshark (not yet working)" OFF)
|
|
|
|
option(ENABLE_PLUGINS "Build with plugins" ON)
|
2010-05-15 21:40:25 +00:00
|
|
|
option(ENABLE_GUIDES "Build Guides" OFF)
|
2011-06-17 22:57:02 +00:00
|
|
|
option(ENABLE_PCAP_NG_DEFAULT "Enable pcap-ng as default file format" ON)
|
2011-07-16 13:05:46 +00:00
|
|
|
option(ENABLE_THREADS "Build with threads support" ON)
|
2010-05-15 20:41:53 +00:00
|
|
|
|
|
|
|
option(ENABLE_ADNS "Build with adns support" ON)
|
2010-09-25 15:38:12 +00:00
|
|
|
option(ENABLE_PCRE "Build with pcre support" OFF)
|
2010-05-15 20:41:53 +00:00
|
|
|
option(ENABLE_PORTAUDIO "Build with portaudio support" ON)
|
|
|
|
option(ENABLE_ZLIB "Build with zlib compression support" ON)
|
2010-09-23 09:08:50 +00:00
|
|
|
option(ENABLE_LUA "Build with lua dissector support" ON)
|
|
|
|
option(ENABLE_PYTHON "Build with python dissector support" OFF)
|
|
|
|
option(ENABLE_SMI "Build with smi 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)
|
2010-05-15 20:41:53 +00:00
|
|
|
option(ENABLE_CARES "Build with c_ares support" ON)
|
|
|
|
# todo Mostly hardcoded
|
2010-09-23 09:08:50 +00:00
|
|
|
option(ENABLE_KERBEROS "Build with Kerberos support" ON)
|
2010-05-15 20:41:53 +00:00
|
|
|
|