zeek/BuildOptions.cmake
2010-11-17 20:38:33 -06:00

62 lines
1.8 KiB
CMake

#--------------------------------------------------------------------#
# #
# Bro - Build Setup #
# #
#--------------------------------------------------------------------#
##
## Installation Settings
##
# The installation directory
# TODO: add to configure wrapper as '--prefix'
set(CMAKE_INSTALL_PREFIX /usr/local
CACHE STRING "Installation directory" FORCE)
# The installation subdirectory for Bro policy files
# TODO: add to configure wrapper as '--datadir'
set(DATADIR share/bro
CACHE STRING "Installation subdirectory for Bro policy files" FORCE)
##
## Optional Features
##
# TODO: add to configure wrapper as '--bro-v6'
# Eventually, this should be always on and won't be needed as an option
set(BROv6 false
CACHE STRING "enable IPv6 processing" FORCE)
# TODO: add to configure wrapper as '--enable-debug'
# TODO: make this option do stuff
set(ENABLE_DEBUG false
CACHE STRING "No compiler optimizations" FORCE)
# TODO: add to configure wrapper as '--enable-perftools'
# TODO: make this option do stuff
set(ENABLE_PERFTOOLS false
CACHE STRING "use Google's perftools" FORCE)
##
## Configure Dependencies for Non-Standard Paths
##
# Uncomment to specify a custom prefix containing the OpenSSL installation.
#set(OPENSSL_ROOT_DIR path/to/your/openssl)
# Uncomment to specify a custom prefix containing the BIND installation.
#set(BIND_ROOT_DIR path/to/your/bind)
# Uncomment to specify a custom prefix that contains the libpcap installation.
#set(PCAP_ROOT_DIR path/to/your/pcap)
# TODO: more dependencies:
# Flex
# Bison
# Perl?
# BinPAC
#
# Libmagic
# LibGeoIP
# Libz
# Endace's DAG tools