forked from osmocom/wireshark
4bfd2dfdf1
http://www.opensync.org/browser/branches/3rd-party-cmake-modules/modules + split out FindGMODULE2.cmake + contains /sw/... by default + supposedly tested on OSX - Disable pcre for cmake builds by default, gregex should be picked up automatically if glib2 is not too old. Should you have trouble linking due to some libgmodule... stuff undefined, please add "${GMODULE2_LIBRARIES}" after "${GLIB2_LIBRARIES}" an report back. svn path=/trunk/; revision=34248
42 lines
1.9 KiB
Text
42 lines
1.9 KiB
Text
# 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)
|
|
|
|
option(NEW_PACKET_LIST "Compile with new packet list code" ON)
|
|
option(DISABLE_WERROR "Do not treat Warnings as errors" OFF)
|
|
option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" OFF)
|
|
option(ENABLE_AIRPCAP "Enable Airpcap support" ON)
|
|
# todo
|
|
option(ENABLE_STATIC "Build a static version of Wireshark (not yet working)" OFF)
|
|
option(ENABLE_PLUGINS "Build with plugins" ON)
|
|
option(ENABLE_GUIDES "Build Guides" OFF)
|
|
|
|
option(ENABLE_ADNS "Build with adns support" ON)
|
|
option(ENABLE_PCRE "Build with pcre support" OFF)
|
|
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 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)
|
|
option(ENABLE_CARES "Build with c_ares support" ON)
|
|
# todo Mostly hardcoded
|
|
option(ENABLE_KERBEROS "Build with Kerberos support" ON)
|
|
|